Set up HAProxy loadbalancer with stats interface and prometheus-enabled metrics.
THIS PROJECT IS ABANDONED. WE DO NOT ACCEPT ANY NEW ISSUES AND/OR PULL REQUESTS.
Use it in a playbook as follows:
- hosts: all
become: true
roles:
- SoInteractive.haproxy
Have a look at the defaults/main.yml for role variables that can be overridden.
- test if unix socket is open