Fix loop syntax error
This commit is contained in:
parent
033587f9d4
commit
034f06b6c4
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
group: knot
|
||||
mode: 0640
|
||||
validate: /usr/bin/kzonecheck -v %s
|
||||
when: "inventory_hostname in item.masters"
|
||||
when: "inventory_hostname in item['masters']"
|
||||
loop: "{{ hostvars[inventory_hostname] | dict2items | selectattr('key', 'match', '^knot_zone_.+$') | map(attribute='value') | list }}"
|
||||
notify: reload knot
|
||||
|
||||
|
|
Loading…
Reference in a new issue