How to control HAProxy using Ansible with Unix Socket Commands
When using HAProxy for loadbalancing it might become handy to control your active and inactive servers. In my case I wanted to control the loadbalancers with Ansible. For this example you need HAproxy, Ansible and the Ansible HAProxy module. First you have to enable the socket in HAProxy to be able to control anything. More info […]