29 lines
429 B
Plaintext
29 lines
429 B
Plaintext
|
object Endpoint "{{ ansible_fqdn }}" {
|
||
|
}
|
||
|
|
||
|
object Zone "master" {
|
||
|
endpoints = [ "{{ ansible_fqdn }}" ]
|
||
|
}
|
||
|
|
||
|
{% for host in groups['all'] %}
|
||
|
{% if host != ansible_fqdn %}
|
||
|
object Endpoint "{{ host }}" {
|
||
|
host = "{{ host }}"
|
||
|
}
|
||
|
|
||
|
|
||
|
object Zone "{{ host }}" {
|
||
|
endpoints = [ "{{ host }}" ]
|
||
|
parent = "master"
|
||
|
}
|
||
|
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
object Zone "global-templates" {
|
||
|
global = true
|
||
|
}
|
||
|
|
||
|
object Zone "director-global" {
|
||
|
global = true
|
||
|
}
|