ok why am I expecting this to work?
This commit is contained in:
parent
2add5156dc
commit
ffa6af14e0
1 changed files with 2 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
hostgroup_name dnsservers
|
hostgroup_name dnsservers
|
||||||
alias DNS Servers
|
alias DNS Servers
|
||||||
members {% for host in groups["dns"] %} {{ host |replace(".phx2","") }} {% if !loop.last %}, {% endif %} {% endfor %}
|
members {% for host in groups["dns"] %} {{ hostvars[host]['inventory_hostname_short'] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
hostgroup_name proxies
|
hostgroup_name proxies
|
||||||
alias Web Servers
|
alias Web Servers
|
||||||
members {% for host in groups["proxies"] %} {{ host |replace(".phx2","") }} {% if !loop.last %}, {% endif %} {% endfor %}
|
members {% for host in groups["proxies"] %} {{ hostvars[host]['inventory_hostname_short'] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue