|
|
@ -18,16 +18,17 @@ First we configure the entire stack by listing our hosts in the 'hosts' |
|
|
|
inventory file, grouped by their purpose: |
|
|
|
inventory file, grouped by their purpose: |
|
|
|
|
|
|
|
|
|
|
|
[webservers] |
|
|
|
[webservers] |
|
|
|
web3 |
|
|
|
webserver1 |
|
|
|
web2 |
|
|
|
webserver2 |
|
|
|
|
|
|
|
|
|
|
|
[dbservers] |
|
|
|
[dbservers] |
|
|
|
web3 |
|
|
|
dbserver |
|
|
|
|
|
|
|
|
|
|
|
[lbservers] |
|
|
|
[lbservers] |
|
|
|
lbserver |
|
|
|
lbserver |
|
|
|
|
|
|
|
|
|
|
|
# an optional nagios node |
|
|
|
|
|
|
|
[monitoring] |
|
|
|
[monitoring] |
|
|
|
nagiosserver |
|
|
|
nagios |
|
|
|
|
|
|
|
|
|
|
|
After which we execute the following command to deploy the site: |
|
|
|
After which we execute the following command to deploy the site: |
|
|
|
|
|
|
|
|
|
|
|