ANSIBLE: Haproxy Configuration over AWS using Ansible
CONFIGURATION OF HAPROXY USING ANSIBLE OVER AWS Lets configure Reverse Proxy that is Haproxy using ansible Playbook. Check this blog to know more about Haproxy : ANSIBLE : Configuration of Haproxy As every server has a hard coded limit . At one point in time, only limited clients can connect to the web server. If more clients try to connect, the will get some error. That's why we are using Load Balancer. Here we want to achieve high availability and extra security for our web server using haproxy. But the problem is that, if we need to add more servers, we can add them by adding their IP in inventory file and run the playbook. But how Load balancer will come to know that more servers have been added???? For this we will have to manually update the configuration file of Haproxy. And manually updating is not good as we are using ansible. So the solution is, we can use JINJA language to write code in ...