and we need an external dns group

This commit is contained in:
Stephen Smoogen 2017-06-19 18:23:39 +00:00
parent 3146a3964c
commit d11aeabedf
2 changed files with 6 additions and 1 deletions

View file

@ -556,6 +556,11 @@ ns03.phx2.fedoraproject.org
ns04.phx2.fedoraproject.org ns04.phx2.fedoraproject.org
ns05.fedoraproject.org ns05.fedoraproject.org
[dns-external]
ns02.fedoraproject.org
ns04.phx2.fedoraproject.org
ns05.fedoraproject.org
[openqa] [openqa]
openqa01.qa.fedoraproject.org openqa01.qa.fedoraproject.org

View file

@ -1,7 +1,7 @@
define hostgroup { define hostgroup {
hostgroup_name dnsservers hostgroup_name dnsservers
alias DNS Servers 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 %}
} }