2dbe9b87c2
- Add dependencies for relevant roles.
23 lines
342 B
YAML
23 lines
342 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
|