ansible-playbooks/debian/site.yml
2014-05-16 01:39:57 +00:00

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