This commit is contained in:
ge
2024-09-15 14:12:48 +03:00
commit 9d7c62684f
34 changed files with 464 additions and 0 deletions

8
playbooks/base.yaml Normal file
View File

@ -0,0 +1,8 @@
- hosts: all
roles:
- hostname
- tz
- locale
- motd
- dotfiles
- packages

6
playbooks/external.yaml Normal file
View File

@ -0,0 +1,6 @@
- hosts: external
roles:
- sshd
- ufw
- role: docker
when: server_hostname in ['mainframe']

5
playbooks/internal.yaml Normal file
View File

@ -0,0 +1,5 @@
- hosts: internal
roles:
- avahi
- role: docker
when: server_hostname != 'pnx'

3
playbooks/master.yaml Normal file
View File

@ -0,0 +1,3 @@
- import_playbook: base.yaml
- import_playbook: internal.yaml
- import_playbook: external.yaml