Clean up site.yml and move some other roles into their own yml files
This commit is contained in:
parent
b2bd30101b
commit
9aa40b3967
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Deploy firewall rules
|
||||
hosts: firewalled
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- firewall-ruleset-deploy
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: install Icinga 2 for client usage
|
||||
hosts: icinga-clients
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- icinga-client
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Deploy ipset rulesets
|
||||
hosts: ipset
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- ipset-deploy
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Install pgbackrest
|
||||
hosts: pgbackrest
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- pgbackrest-install
|
|
@ -9,75 +9,3 @@
|
|||
- turn-off-motd-news
|
||||
- apt-maintenance
|
||||
- ssh-enforcement
|
||||
|
||||
- name: install PHP-FPM to required nodes
|
||||
hosts: php
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- php
|
||||
|
||||
- name: install MySQL server to required nodes
|
||||
hosts: mysql-servers
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- mysql
|
||||
|
||||
- name: install Icinga 2 for client usage
|
||||
hosts: icinga-clients
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- icinga-client
|
||||
|
||||
- name: install LEMP stack to required nodes
|
||||
hosts: lemp-servers
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- jdauphant.nginx
|
||||
- php
|
||||
- mysql
|
||||
|
||||
- name: Turn off MOTD news on Ubuntu 18.04 hosts
|
||||
hosts: myubuntunodes
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- turn-off-motd-news
|
||||
|
||||
- name: Set up unattended-upgrades for Ubuntu nodes
|
||||
hosts: myubuntunodes
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- apt-maintenance
|
||||
|
||||
- name: Deploy firewall rules
|
||||
hosts: firewalled
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- firewall-ruleset-deploy
|
||||
|
||||
- name: Install pgbackrest
|
||||
hosts: pgbackrest
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- pgbackrest-install
|
||||
|
||||
- name: Deploy ipset rulesets
|
||||
hosts: ipset
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- ipset-deploy
|
||||
|
||||
- name: SSH Enforcement
|
||||
hosts: cloud
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- ssh-enforcement
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: SSH Enforcement
|
||||
hosts: cloud
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- ssh-enforcement
|
Loading…
Reference in New Issue