Ansible Role to configure haproxy from pkgsrc
- Hosts requires pkgsrc's pkgin
- Hosts should be bootstrapped for ansible usage (have python,...)
- Root privileges, eg
become: yes
| Variable | Description | Default value |
|---|---|---|
net_haproxy_service_name |
Service name for handler | "pkgsrc/haproxy" |
net_haproxy_config_file_src |
haproxy.cfg.j2 source file location | "haproxy.cfg.j2" |
net_haproxy_config_file_dest |
haproxy.cfg.j2 remote location | "/opt/local/etc/haproxy.cfg" |
None
- hosts: servers
roles:
- { role: alesium.net-haproxy }
BSD
Sebastien Perreault sperreault@alesium.net