VYSAKH M

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.

Step 1

Create two groups in inventory

  • one for load balancer
  • one for webserver

Step 2

Install ha proxy in controll node

cmd:-yum install haproxy

Step 3

Update the haproxy.cfg file in controller node

--

--