Create a playbook to apply everything, everywhere, all at once

This commit is contained in:
Ivan R. 2024-12-16 19:02:54 +05:00
parent cc0f5eedb5
commit de6c1b4edd
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
2 changed files with 28 additions and 6 deletions

View file

@ -1,10 +1,4 @@
common_args := -i inventory.ini --ask-vault-pass -e@vaulted_vars.yml common_args := -i inventory.ini --ask-vault-pass -e@vaulted_vars.yml
all: common networkvm webserver
networkvm: wireguard
webserver: tls haproxy docker minio postgresql mastodon vaultwarden
%: %:
ansible-playbook $(common_args) $*.yml ansible-playbook $(common_args) $*.yml

28
all.yml Normal file
View file

@ -0,0 +1,28 @@
---
- ansible.builtin.import_playbook: common.yml
- ansible.builtin.import_playbook: wireguard.yml
- ansible.builtin.import_playbook: docker.yml
- ansible.builtin.import_playbook: tls.yml
- ansible.builtin.import_playbook: haproxy.yml
- ansible.builtin.import_playbook: postgresql.yml
- ansible.builtin.import_playbook: authentik.yml
- ansible.builtin.import_playbook: mastodon.yml
- ansible.builtin.import_playbook: peertube.yml
- ansible.builtin.import_playbook: coturn.yml
- ansible.builtin.import_playbook: synapse.yml
- ansible.builtin.import_playbook: prosody.yml
- ansible.builtin.import_playbook: archivebox.yml
- ansible.builtin.import_playbook: backups.yml
- ansible.builtin.import_playbook: comfycamp.yml
- ansible.builtin.import_playbook: forgejo.yml
- ansible.builtin.import_playbook: freshrss.yml
- ansible.builtin.import_playbook: immich.yml
- ansible.builtin.import_playbook: jellyfin.yml
- ansible.builtin.import_playbook: mail.yml
- ansible.builtin.import_playbook: minecraft.yml
- ansible.builtin.import_playbook: monitoring.yml
- ansible.builtin.import_playbook: nextcloud.yml
- ansible.builtin.import_playbook: ollama.yml
- ansible.builtin.import_playbook: phoenix.yml
- ansible.builtin.import_playbook: tor.yml
- ansible.builtin.import_playbook: vaultwarden.yml