Skip to content

Commit 0329e79

Browse files
committed
ansible/unbound: Validate the configuration as it is generated
1 parent 34fad9c commit 0329e79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/roles/unbound/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- name: Configure unbound
2222
copy:
2323
dest: /etc/unbound/unbound.conf.d/{{ item.key }}.conf
24+
validate: unbound-checkconf %s
2425
content: |
2526
# File managed with Ansible, do not edit manually
2627
{{ item.value }}

0 commit comments

Comments
 (0)