bar
This commit is contained in:
parent
6eefaf4c41
commit
f045949650
2 changed files with 13 additions and 13 deletions
|
@ -1,18 +1,18 @@
|
|||
{{ ansible_managed | comment }}
|
||||
|
||||
server:
|
||||
hide-version: {{ nsd_server_hide_version }}
|
||||
hide-version: {{ nsd_server_hide_version | ternary('yes', 'no') }}
|
||||
verbosity: {{ nsd_server_verbosity }}
|
||||
database: {{ nsd_server_database }}
|
||||
database: "{{ nsd_server_database }}"
|
||||
zonefiles-write: {{ nsd_server_zonefile_write }}
|
||||
|
||||
{%- for addr in nsd_server_listen %}
|
||||
ip-address: {{ addr }}
|
||||
{%- endfor %}
|
||||
{% for addr in nsd_server_listen %}
|
||||
ip-address: "{{ addr }}"
|
||||
{% endfor %}
|
||||
|
||||
minimal-responses: {{ nsd_server_minimal_responses }}
|
||||
refuse-any: {{ nsd_server_refuse_any }}
|
||||
minimal-responses: {{ nsd_server_minimal_responses | ternary('yes', 'no') }}
|
||||
refuse-any: {{ nsd_server_refuse_any | ternary('yes', 'no') }}
|
||||
|
||||
remote-control:
|
||||
control-enable: {{ nsd_remote_control_enable }}
|
||||
control-enable: {{ nsd_remote_control_enable | ternary('yes', 'no') }}
|
||||
control-interface: {{ nsd_remote_control_interface }}
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
pattern:
|
||||
name: xfr-{{ primary }}
|
||||
zonefile: "/var/lib/nsd/replica/%szone"
|
||||
{%- for addr in masters %}
|
||||
{% for addr in masters %}
|
||||
allow-notify: {{ addr }} NOKEY
|
||||
{%- endfor %}
|
||||
{%- for addr in masters %}
|
||||
{% endfor %}
|
||||
{% for addr in masters %}
|
||||
request-xfr: {{ addr }} NOKEY
|
||||
{%- endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% for zone in zones %}
|
||||
zone:
|
||||
name: {{ zone }}.
|
||||
include-pattern: "xfr-{{ primary }}"
|
||||
{%- endfor %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue