Compare commits
2 commits
86ac2a67c3
...
9ed63f60b2
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ed63f60b2 | |||
| 26e56346e4 |
1 changed files with 49 additions and 0 deletions
49
ansible/playbook.yaml
Normal file
49
ansible/playbook.yaml
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
---
|
||||||
|
- name: Prepare incus server host
|
||||||
|
hosts: host_system
|
||||||
|
tasks:
|
||||||
|
- name: Prepare system
|
||||||
|
ansible.builtin.import_role:
|
||||||
|
name: system
|
||||||
|
tags: system
|
||||||
|
|
||||||
|
# FIXME: Role needs much fixup before it can run
|
||||||
|
# - name: Prepare incus
|
||||||
|
# ansible.builtin.import_role:
|
||||||
|
# name: incus-install
|
||||||
|
# tags: incus
|
||||||
|
|
||||||
|
# ansible-galaxy install geerlingguy.docker
|
||||||
|
- name: Install docker
|
||||||
|
hosts: instance_system
|
||||||
|
tasks:
|
||||||
|
- name: Install docker and docker compose
|
||||||
|
ansible.builtin.import_role:
|
||||||
|
name: geerlingguy.docker
|
||||||
|
tags: docker
|
||||||
|
|
||||||
|
- name: Install docker python requirements
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
|
loop:
|
||||||
|
- python3-yaml # for docker compose_v2
|
||||||
|
- python3-requests # for docker network
|
||||||
|
|
||||||
|
- name: Prepare all docker hosted containers
|
||||||
|
hosts: instance_system
|
||||||
|
tasks:
|
||||||
|
- name: Set up Caddy stack
|
||||||
|
ansible.builtin.import_role:
|
||||||
|
name: caddy
|
||||||
|
tags: caddy
|
||||||
|
|
||||||
|
- name: Set up Arr stack
|
||||||
|
ansible.builtin.import_role:
|
||||||
|
name: arr
|
||||||
|
tags: arr
|
||||||
|
|
||||||
|
- name: Set up Paperless stack
|
||||||
|
ansible.builtin.import_role:
|
||||||
|
name: paperless
|
||||||
|
tags: paperless
|
||||||
Loading…
Add table
Add a link
Reference in a new issue