use separated named config files
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
state: present
|
||||
line: '\tstatistics-file "/var/cache/bind/stats";\n\tzone-statistics yes;'
|
||||
insertafter: "options {"
|
||||
validate: "{{ named_checkconf }} %s"
|
||||
validate: "{{ named_checkconf }} {{ named_conf }}"
|
||||
notify: restart_named
|
||||
|
||||
- name: nameserver | snmpd | configure extend
|
||||
|
||||
@@ -10,6 +10,7 @@ powerdns_backends:
|
||||
- package: pdns-backend-mysql
|
||||
|
||||
# named / bind specific
|
||||
named_conf: /etc/bind/named.conf
|
||||
named_conf_zones: /etc/bind/named.conf.default-zones
|
||||
named_conf_options: /etc/bind/named.conf.options
|
||||
named_conf_local: /etc/bind/named.conf.local
|
||||
|
||||
Reference in New Issue
Block a user