forked from evolix/ansible-roles
haproxy: chroot and socket path are configurable
This commit is contained in:
parent
f034e93b6e
commit
66b62c5629
|
@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
|
|||
### Changed
|
||||
|
||||
* packweb-apache: Don't turn on mod-evasive emails by default
|
||||
* haproxy: chroot and socket path are configurable
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -4,3 +4,6 @@ haproxy_backports: "{{ haproxy_jessie_backports | default(false, true) }}"
|
|||
haproxy_stats_url: "http://127.0.0.1:8080/"
|
||||
haproxy_update_config: True
|
||||
haproxy_force_config: True
|
||||
|
||||
haproxy_socket: /run/haproxy/admin.sock
|
||||
haproxy_chroot: /var/lib/haproxy
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
global
|
||||
log /dev/log local0
|
||||
log /dev/log local1 notice
|
||||
chroot /var/lib/haproxy
|
||||
stats socket /run/haproxy/admin.sock mode 660 level admin
|
||||
chroot {{ haproxy_chroot }}
|
||||
stats socket {{ haproxy_socket }} mode 660 level admin
|
||||
stats timeout 30s
|
||||
user haproxy
|
||||
group haproxy
|
||||
|
|
Loading…
Reference in a new issue