mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-23 14:32:04 +01:00
add 'all' playbooks to facilitate running all other
This commit is contained in:
parent
dea406fb54
commit
9b9f85d4de
6 changed files with 19 additions and 0 deletions
0
.ansible-lint-ignore
Normal file
0
.ansible-lint-ignore
Normal file
4
playbooks/all.yaml
Normal file
4
playbooks/all.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- import_playbook: system/all.yaml # noqa: name[play]
|
||||
- import_playbook: dependencies/all.yaml # noqa: name[play]
|
||||
- import_playbook: apps/all.yaml # noqa: name[play]
|
8
playbooks/apps/all.yaml
Normal file
8
playbooks/apps/all.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- import_playbook: caddy.yaml # noqa: name[play]
|
||||
- import_playbook: ghost-update.yaml # noqa: name[play]
|
||||
- import_playbook: gitea.yaml # noqa: name[play]
|
||||
- import_playbook: goatcounter.yaml # noqa: name[play]
|
||||
- import_playbook: lyon-transports.yaml # noqa: name[play]
|
||||
- import_playbook: test_headers.yaml # noqa: name[play]
|
||||
- import_playbook: wallabag.yaml # noqa: name[play]
|
|
@ -9,6 +9,7 @@
|
|||
pkg:
|
||||
- python3-venv
|
||||
- name: Setup venv
|
||||
# github3.py required by the goatcounter playbook
|
||||
ansible.builtin.shell: |
|
||||
if [ -x /tmp/ansible/bin/python ]; then exit 123; fi
|
||||
/usr/bin/python3 -m venv /tmp/ansible
|
||||
|
|
4
playbooks/dependencies/all.yaml
Normal file
4
playbooks/dependencies/all.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
# intentionally leaving 00-clean-deps to prevent re-creating the venv every time
|
||||
- import_playbook: 01-setup-deps.yaml # noqa: name[play]
|
||||
- import_playbook: caddy.yaml # noqa: name[play]
|
2
playbooks/system/all.yaml
Normal file
2
playbooks/system/all.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
- import_playbook: update.yaml # noqa: name[play]
|
Loading…
Reference in a new issue