ansible-playbooks/debian/site.yml

30 lines
464 B
YAML
Raw Normal View History

2013-08-13 12:13:40 +00:00
---
2014-05-07 14:27:13 +00:00
- name: apply common configuration to all nodes
hosts: all
user: root
roles:
- common
2014-05-07 16:51:02 +00:00
- name: apply configuration to web servers (nginx)
hosts: webservers-nginx
2014-05-07 16:51:02 +00:00
user: root
roles:
- webservers-nginx
- name: apply configuration to PHP app servers
hosts: appservers-php
user: root
roles:
- appservers-php
2014-05-16 01:39:57 +00:00
- name: apply configuration to uwsgi app servers
hosts: appservers-uwsgi
user: root
roles:
- appservers-uwsgi