Fix loop syntax error

This commit is contained in:
s3lph 2021-01-16 02:11:49 +01:00
parent 033587f9d4
commit 034f06b6c4

View file

@ -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