ansible-playbooks/ubuntu/site.yml

47 lines
692 B
YAML
Raw Normal View History

---
- name: apply common configuration to all nodes
hosts: unsetup
user: root
roles:
- common
- turn-off-motd-news
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