diff --git a/roles/nameserver/tasks/configure_bind_snmpd.yml b/roles/nameserver/tasks/configure_bind_snmpd.yml index 7c7587c..b62ef7a 100644 --- a/roles/nameserver/tasks/configure_bind_snmpd.yml +++ b/roles/nameserver/tasks/configure_bind_snmpd.yml @@ -30,7 +30,7 @@ lineinfile: path: "/etc/bind/named.conf.options" # required. The file to modify. Before Ansible 2.3 this option was only usable as I(dest), I(destfile) and I(name). state: present - line: "statistics-file "/var/cache/bind/stats"; zone-statistics yes;" + line: 'statistics-file "/var/cache/bind/stats"; zone-statistics yes;' insertafter: "options {" validate: /usr/bin/named-checkconf %s notify: restart_named