Created
April 25, 2013 17:22
-
-
Save tgerla/5461487 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| --- | |
| # This playbook deploys the whole application stack in this site. | |
| # apply common configuration to all hosts | |
| - hosts: all | |
| roles: | |
| - common | |
| - hosts: dbservers | |
| user: root | |
| roles: | |
| - db | |
| - hosts: webservers | |
| user: root | |
| roles: | |
| - base-apache | |
| - web | |
| - hosts: lbservers | |
| user: root | |
| roles: | |
| - haproxy | |
| - hosts: monitoring | |
| user: root | |
| roles: | |
| - base-apache | |
| - nagios |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment