From fc7edc1c469e6a0a891aa680e31649613dfeebe2 Mon Sep 17 00:00:00 2001 From: rene Date: Wed, 23 Mar 2022 19:37:16 +0100 Subject: [PATCH] nested quoting --- roles/nameserver/tasks/configure_bind_snmpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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