Browse Source

haproxy: validate is a module attribute

nagios-sudoers
parent
commit
66ab052ac7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      haproxy/tasks/main.yml

+ 1
- 1
haproxy/tasks/main.yml View File

@@ -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…
Cancel
Save