You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
243 B
Plaintext

zone "{{ domain }}" {
type slave;
file "{{ database_file }}";
masters {
{% for fqdn in masters %}
{{ hostvars[fqdn].ansible_default_ipv4.address }};
{{ hostvars[fqdn].ansible_default_ipv6.address }};
{% endfor %}
};
};