Last active
August 29, 2015 14:07
-
-
Save natefoo/55f08e694379fd3fa3e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
roles: | |
- packages | |
- role: nginx | |
when: inventory_hostname in groups['webservers'] | |
- role: moin | |
when: inventory_hostname in groups['wikiservers'] | |
--- | |
- host: webservers:wikiservers | |
roles: | |
- role: supervisor | |
- hosts: webservers | |
roles: | |
- role: nginx | |
- hosts: wikiservers | |
roles: | |
- role: moin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment