I have no idea what I am doing
This commit is contained in:
parent
ffa6af14e0
commit
eb36b5e7f0
2 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
|||
define hostgroup {
|
||||
hostgroup_name dnsservers
|
||||
alias DNS Servers
|
||||
members {% for host in groups["dns"] %} {{ hostvars[host]['inventory_hostname_short'] }}.fedoraproject.org {% 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"] %} {{ hostvars[host]['inventory_hostname_short'] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %}
|
||||
members {% for host in groups["proxies"] %} {{ hostvars["host"]["inventory_hostname_short"] }}.fedoraproject.org {% if !loop.last %}, {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% for host in vars['phx2_external'] %}
|
||||
{% for host in vars["phx2_external"] %}
|
||||
define host {
|
||||
host_name {{ host }}
|
||||
alias {{ host }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue