haproxy: verify configuration before enabling

This commit is contained in:
Jérémy Lecour 2019-05-15 17:30:36 +02:00 committed by Jérémy Lecour
parent 6c1991196a
commit 303dbf9653

View file

@ -28,6 +28,7 @@
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
- "templates/haproxy/haproxy.default.cfg.j2"
- "haproxy.default.cfg.j2"
verify: "haproxy -c -f %s"
notify: reload haproxy
tags:
- haproxy