must be after the options line
because '};' can belong to any section
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
path: "{{ 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).
|
path: "{{ 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
|
state: present
|
||||||
line: 'statistics-file "/var/cache/bind/stats"; zone-statistics yes;'
|
line: 'statistics-file "/var/cache/bind/stats"; zone-statistics yes;'
|
||||||
insertbefore: "};"
|
insertafter: "options {"
|
||||||
validate: /usr/sbin/named-checkconf %s
|
validate: /usr/sbin/named-checkconf %s
|
||||||
notify: restart_named
|
notify: restart_named
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user