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 }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
server:
|
server:
|
||||||
hide-version: {{ nsd_server_hide_version }}
|
hide-version: {{ nsd_server_hide_version | ternary('yes', 'no') }}
|
||||||
verbosity: {{ nsd_server_verbosity }}
|
verbosity: {{ nsd_server_verbosity }}
|
||||||
database: {{ nsd_server_database }}
|
database: "{{ nsd_server_database }}"
|
||||||
zonefiles-write: {{ nsd_server_zonefile_write }}
|
zonefiles-write: {{ nsd_server_zonefile_write }}
|
||||||
|
|
||||||
{%- for addr in nsd_server_listen %}
|
{% for addr in nsd_server_listen %}
|
||||||
ip-address: {{ addr }}
|
ip-address: "{{ addr }}"
|
||||||
{%- endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
minimal-responses: {{ nsd_server_minimal_responses }}
|
minimal-responses: {{ nsd_server_minimal_responses | ternary('yes', 'no') }}
|
||||||
refuse-any: {{ nsd_server_refuse_any }}
|
refuse-any: {{ nsd_server_refuse_any | ternary('yes', 'no') }}
|
||||||
|
|
||||||
remote-control:
|
remote-control:
|
||||||
control-enable: {{ nsd_remote_control_enable }}
|
control-enable: {{ nsd_remote_control_enable | ternary('yes', 'no') }}
|
||||||
control-interface: {{ nsd_remote_control_interface }}
|
control-interface: {{ nsd_remote_control_interface }}
|
||||||
|
|
|
@ -7,15 +7,15 @@
|
||||||
pattern:
|
pattern:
|
||||||
name: xfr-{{ primary }}
|
name: xfr-{{ primary }}
|
||||||
zonefile: "/var/lib/nsd/replica/%szone"
|
zonefile: "/var/lib/nsd/replica/%szone"
|
||||||
{%- for addr in masters %}
|
{% for addr in masters %}
|
||||||
allow-notify: {{ addr }} NOKEY
|
allow-notify: {{ addr }} NOKEY
|
||||||
{%- endfor %}
|
{% endfor %}
|
||||||
{%- for addr in masters %}
|
{% for addr in masters %}
|
||||||
request-xfr: {{ addr }} NOKEY
|
request-xfr: {{ addr }} NOKEY
|
||||||
{%- endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for zone in zones %}
|
{% for zone in zones %}
|
||||||
zone:
|
zone:
|
||||||
name: {{ zone }}.
|
name: {{ zone }}.
|
||||||
include-pattern: "xfr-{{ primary }}"
|
include-pattern: "xfr-{{ primary }}"
|
||||||
{%- endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue