haproxy: verify configuration before enabling
This commit is contained in:
parent
6c1991196a
commit
303dbf9653
|
@ -28,6 +28,7 @@
|
||||||
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
|
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
|
||||||
- "templates/haproxy/haproxy.default.cfg.j2"
|
- "templates/haproxy/haproxy.default.cfg.j2"
|
||||||
- "haproxy.default.cfg.j2"
|
- "haproxy.default.cfg.j2"
|
||||||
|
verify: "haproxy -c -f %s"
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
|
|
Loading…
Reference in a new issue