ansible-playbooks/ubuntu/site.yml

39 lines
546 B
YAML
Raw Normal View History

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