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
|
### Changed
|
||||||
|
|
||||||
* packweb-apache: Don't turn on mod-evasive emails by default
|
* packweb-apache: Don't turn on mod-evasive emails by default
|
||||||
|
* haproxy: chroot and socket path are configurable
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,6 @@ haproxy_backports: "{{ haproxy_jessie_backports | default(false, true) }}"
|
||||||
haproxy_stats_url: "http://127.0.0.1:8080/"
|
haproxy_stats_url: "http://127.0.0.1:8080/"
|
||||||
haproxy_update_config: True
|
haproxy_update_config: True
|
||||||
haproxy_force_config: True
|
haproxy_force_config: True
|
||||||
|
|
||||||
|
haproxy_socket: /run/haproxy/admin.sock
|
||||||
|
haproxy_chroot: /var/lib/haproxy
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
global
|
global
|
||||||
log /dev/log local0
|
log /dev/log local0
|
||||||
log /dev/log local1 notice
|
log /dev/log local1 notice
|
||||||
chroot /var/lib/haproxy
|
chroot {{ haproxy_chroot }}
|
||||||
stats socket /run/haproxy/admin.sock mode 660 level admin
|
stats socket {{ haproxy_socket }} mode 660 level admin
|
||||||
stats timeout 30s
|
stats timeout 30s
|
||||||
user haproxy
|
user haproxy
|
||||||
group haproxy
|
group haproxy
|
||||||
|
|
Loading…
Reference in a new issue