September 2018
Beginner to intermediate
214 pages
5h 53m
English
This is a module that manages HAProxy servers, commanding them to enable, disable, drain, and set weights for backend servers using socket commands. An example of a command to disable some HAProxy servers is as follows:
- name: disable a haproxy backend host haproxy: state: disabled host: '{{ inventory_hostname }}' socket: /usr/loca/haproxy/haproxy.sock backend: www wait: yes
Read now
Unlock full access