ARTH — Task 12 👨💻
Task Description 📃
12.1 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.
Playbook running….
Config file of haproxy updated in loadbalancer using Ansible
httpd configured in manage nodes.
Now i have :-
- Controller Node
- Load Balancer
- Webserver 1
- Webserver 2
As i browse my loadbalancerip:8080 it is changing the webserver for provides best services to the client. You can see in the pic
Thanks for reading ….