2015-05-24 17:22:57 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: apply common configuration to all nodes
|
2017-07-18 03:02:32 +00:00
|
|
|
hosts: unsetup
|
2015-05-24 17:22:57 +00:00
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- common
|
2018-09-26 01:00:45 +00:00
|
|
|
- turn-off-motd-news
|
2019-07-08 00:03:49 +00:00
|
|
|
- apt-maintenance
|
2017-01-13 02:43:11 +00:00
|
|
|
|
|
|
|
- name: install PHP-FPM to required nodes
|
|
|
|
hosts: php
|
|
|
|
user: root
|
2017-05-09 01:11:58 +00:00
|
|
|
|
2017-01-13 02:43:11 +00:00
|
|
|
roles:
|
|
|
|
- php
|
2017-01-13 03:00:01 +00:00
|
|
|
|
2018-06-10 16:47:37 +00:00
|
|
|
- name: install MySQL server to required nodes
|
|
|
|
hosts: mysql-servers
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- mysql
|
|
|
|
|
2017-11-27 19:20:10 +00:00
|
|
|
- name: install Icinga 2 for client usage
|
2017-11-27 19:21:49 +00:00
|
|
|
hosts: icinga-clients
|
2017-11-27 19:20:10 +00:00
|
|
|
user: root
|
|
|
|
|
2017-11-27 19:23:56 +00:00
|
|
|
roles:
|
2017-11-27 19:20:10 +00:00
|
|
|
- icinga-client
|
2018-06-10 17:04:12 +00:00
|
|
|
|
|
|
|
- name: install LEMP stack to required nodes
|
|
|
|
hosts: lemp-servers
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- jdauphant.nginx
|
|
|
|
- php
|
|
|
|
- mysql
|
2018-09-26 00:38:02 +00:00
|
|
|
|
|
|
|
- name: Turn off MOTD news on Ubuntu 18.04 hosts
|
2018-09-26 00:40:19 +00:00
|
|
|
hosts: myubuntunodes
|
2018-09-26 00:38:02 +00:00
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- turn-off-motd-news
|
2019-07-08 00:03:49 +00:00
|
|
|
|
2019-10-29 14:37:01 +00:00
|
|
|
- name: Set up unattended-upgrades for Ubuntu nodes
|
2019-07-08 00:03:49 +00:00
|
|
|
hosts: myubuntunodes
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- apt-maintenance
|
2019-08-22 01:53:38 +00:00
|
|
|
|
|
|
|
- name: Deploy firewall rules
|
|
|
|
hosts: firewalled
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- firewall-ruleset-deploy
|
2019-10-21 01:02:36 +00:00
|
|
|
|
|
|
|
- name: Install pgbackrest
|
2019-10-21 01:04:25 +00:00
|
|
|
hosts: pgbackrest
|
2019-10-21 01:02:36 +00:00
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- pgbackrest-install
|
2020-04-15 01:42:03 +00:00
|
|
|
|
|
|
|
- name: Deploy ipset rulesets
|
|
|
|
hosts: ipset
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- ipset-deploy
|