mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
and we need an external dns group
This commit is contained in:
@@ -556,6 +556,11 @@ ns03.phx2.fedoraproject.org
|
||||
ns04.phx2.fedoraproject.org
|
||||
ns05.fedoraproject.org
|
||||
|
||||
[dns-external]
|
||||
ns02.fedoraproject.org
|
||||
ns04.phx2.fedoraproject.org
|
||||
ns05.fedoraproject.org
|
||||
|
||||
[openqa]
|
||||
openqa01.qa.fedoraproject.org
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
define hostgroup {
|
||||
hostgroup_name dnsservers
|
||||
alias DNS Servers
|
||||
members {% for host in groups["dns"] %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
||||
members {% for host in groups["dns-external"] %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user