2016-03-26 17:54:31 +01:00
|
|
|
# Primary zone definition for {{ item.zone_name }}
|
|
|
|
zone:
|
|
|
|
name: "{{ item.zone_name }}"
|
|
|
|
zonefile: "{{ primary_zones_dir }}/{{ item.zone_filename }}"
|
2016-03-26 18:42:13 +01:00
|
|
|
{% for slave in item.slaves|default([]) %}
|
2016-03-26 19:14:59 +01:00
|
|
|
notify: {{ slave.ip }} "{{ slave.tsig_key|default('NOKEY') }}"
|
|
|
|
provide-xfr: {{ slave.ip }} "{{ slave.tsig_key|default('NOKEY') }}"
|
2016-03-26 17:54:31 +01:00
|
|
|
{% endfor %}
|
|
|
|
|