knot: validate zonefiles before deploying
This commit is contained in:
parent
89d265190b
commit
add9cf1a31
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
owner: knot
|
||||
group: knot
|
||||
mode: 0640
|
||||
validate: /usr/bin/kzonecheck -v %s
|
||||
vars:
|
||||
zone: "{{ hostvars[inventory_hostname]['knot_zone_' + item.1] }}"
|
||||
loop: "{{ knot_zone_groups | subelements('zones') }}"
|
||||
|
|
Loading…
Reference in a new issue