ansible-playbooks/ubuntu/site.yml

30 lines
464 B
YAML

---
- name: apply common configuration to all nodes
hosts: all
user: root
roles:
- common
- name: apply configuration to web servers (nginx)
hosts: webservers-nginx
user: root
roles:
- webservers-nginx
- name: apply configuration to PHP app servers
hosts: appservers-php
user: root
roles:
- appservers-php
- name: apply configuration to uwsgi app servers
hosts: appservers-uwsgi
user: root
roles:
- appservers-uwsgi