-
You must have following group in inventory - ( frontends, apps, appdbs )
-
add host to above groups
-
frontends group will have host where we want to install HAproxy
-
apps group will have host where we want to install httpd/tomcat
-
appdbs group will have host where we want to install postgressql
-
git clone https://github.com/miteshrh/multi-tier-application.git
-
cd multi-tier-application
-
ansible-playbook main.yml -e GUID=<your guid>