diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-02-08 13:31:31 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-02-08 13:33:36 +0100 |
commit | 375f7a47425867eb781ac0d626bded21c80ea51b (patch) | |
tree | a989e2aa2d0ab0bf17e3985bca6e03bf6e9ce70a /site.all.yml | |
parent | 47423ebb57eb67ed318f5e91f9f837796f63f501 (diff) | |
download | rules-375f7a47425867eb781ac0d626bded21c80ea51b.tar.gz |
refactor: split main playbook in sub-playbooks
Diffstat (limited to 'site.all.yml')
-rw-r--r-- | site.all.yml | 61 |
1 files changed, 13 insertions, 48 deletions
diff --git a/site.all.yml b/site.all.yml index 761c0f7..30fecdd 100644 --- a/site.all.yml +++ b/site.all.yml @@ -1,54 +1,19 @@ --- -- hosts: all - roles: - - role: wireguard +- name: include system playbook + ansible.builtin.import_playbook: site.system.yml -- hosts: servers - roles: - - role: sshd +- name: include network playbook + ansible.builtin.import_playbook: site.network.yml -- hosts: servers:!dc0 - roles: - - role: prometheus - - role: loki +- name: include services playbook + ansible.builtin.import_playbook: site.services.yml -- hosts: dc0 - roles: - - role: pf - - role: relayd - - role: acme - - role: cgit - - role: znc - # internal git user and directory - different than the public one for cgit - - role: git - git_dir: /data/git-internal - git_user: git-internal +# # internal git user and directory - different than the public one for cgit +# - role: git +# git_dir: /data/git-internal +# git_user: git-internal -- hosts: stack0 - roles: - - role: nfsd - -- hosts: stack0-* - roles: - - role: nfsclient - -- hosts: stack0-dc1 - roles: - - role: grafana - -- hosts: stack0-dev0,stack0-dc1 - roles: - - role: cgit - -- hosts: stack0-cld0 - roles: - - role: miniflux - -- hosts: servers - roles: - - role: httpd - -- hosts: stack0 - roles: - - role: vmm +# - hosts: all +# roles: +# - role: wireguard |