ARTH — Task 12 👨🏻‍💻

Use Ansible playbook to Configure Reverse Proxy i.e. Haproxy and update it’s configuration file automatically on each time new Managed node (Configured With Apache Webserver) join the inventory. Configure this setup over AWS using instance over there.

1. Launch Three(minimum) instances :

2. Create Inventory file with any name :

3. Update the Inventory File :-

5. Check the connectivity with the node :

6. Code for configure HAProxy :

7. Code for configure Webserver:

8. Make HAProxy configuration file dynamic :

9. Now run the yml file One by One :

10. Check Configuration file of HAProxy in managed node updated dynamically or not :

11. Check Connectivity in the browser :

Task Completed !!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store