haproxy: validate is a module attribute
This commit is contained in:
parent
e614fe4d85
commit
66ab052ac7
1 changed files with 1 additions and 1 deletions
|
@ -23,12 +23,12 @@
|
|||
src: "{{ item }}"
|
||||
dest: /etc/haproxy/haproxy.cfg
|
||||
force: yes
|
||||
validate: "haproxy -c -f %s"
|
||||
with_first_found:
|
||||
- "templates/haproxy/haproxy.{{ inventory_hostname }}.cfg.j2"
|
||||
- "templates/haproxy/haproxy.{{ host_group }}.cfg.j2"
|
||||
- "templates/haproxy/haproxy.default.cfg.j2"
|
||||
- "haproxy.default.cfg.j2"
|
||||
validate: "haproxy -c -f %s"
|
||||
notify: reload haproxy
|
||||
tags:
|
||||
- haproxy
|
||||
|
|
Loading…
Add table
Reference in a new issue