add 'all' playbooks to facilitate running all other

This commit is contained in:
Gabriel Augendre 2024-10-11 11:14:16 +02:00
parent dea406fb54
commit 9b9f85d4de
6 changed files with 19 additions and 0 deletions

0
.ansible-lint-ignore Normal file
View file

4
playbooks/all.yaml Normal file
View 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
View 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]

View file

@ -9,6 +9,7 @@
pkg: pkg:
- python3-venv - python3-venv
- name: Setup venv - name: Setup venv
# github3.py required by the goatcounter playbook
ansible.builtin.shell: | ansible.builtin.shell: |
if [ -x /tmp/ansible/bin/python ]; then exit 123; fi if [ -x /tmp/ansible/bin/python ]; then exit 123; fi
/usr/bin/python3 -m venv /tmp/ansible /usr/bin/python3 -m venv /tmp/ansible

View 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]

View file

@ -0,0 +1,2 @@
---
- import_playbook: update.yaml # noqa: name[play]