diff --git a/roles/nameserver/tasks/configure_bind_snmpd.yml b/roles/nameserver/tasks/configure_bind_snmpd.yml index a1dac1f..ef715a8 100644 --- a/roles/nameserver/tasks/configure_bind_snmpd.yml +++ b/roles/nameserver/tasks/configure_bind_snmpd.yml @@ -32,7 +32,7 @@ state: present line: '\tstatistics-file "/var/cache/bind/stats";\n\tzone-statistics yes;' insertafter: "options {" - validate: "{{ named_checkconf }} {{ named_conf }}" + validate: "{{ named_checkconf }} %s" notify: restart_named - name: nameserver | snmpd | configure extend