repo: Move ansible setup to root dir
This commit is contained in:
parent
ff718b46ef
commit
6a1e01575c
41 changed files with 0 additions and 172 deletions
49
playbook.yaml
Normal file
49
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