|
|
@ -36,11 +36,17 @@ zone "{{ domain }}" {
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for ip in slaves_ip %}
|
|
|
|
|
|
|
|
{{ ip }};
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
also-notify {
|
|
|
|
also-notify {
|
|
|
|
{% for fqdn in slaves %}
|
|
|
|
{% for fqdn in slaves %}
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for ip in slaves_ip %}
|
|
|
|
|
|
|
|
{{ ip }};
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|