ansible-playbooks/ubuntu/site.yml

76 lines
1.1 KiB
YAML
Raw Normal View History

---
- name: apply common configuration to all nodes
hosts: unsetup
user: root
roles:
- common
- turn-off-motd-news
- apt-maintenance
2017-01-13 02:43:11 +00:00
- name: install PHP-FPM to required nodes
hosts: php
user: root
2017-01-13 02:43:11 +00:00
roles:
- php
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
- 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
- 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
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