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 {
|
||||
hostgroup_name dnsservers
|
||||
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 {
|
||||
hostgroup_name proxies
|
||||
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