staring me in the face for 4 hours.. if it were a grue I would be dead
This commit is contained in:
parent
463c9ea02c
commit
43c2c08479
1 changed files with 18 additions and 0 deletions
|
@ -22,7 +22,25 @@ define hostgroup{
|
|||
members {% for host in groups[key] %}{{host}}, {% endfor %}
|
||||
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
##
|
||||
## VPN clients
|
||||
define hostgroup {
|
||||
hostgroup_name vpnclients
|
||||
alias vpnclients
|
||||
members {% for host in groups['all'] %}{% if hostvars[host].vpn %}{{host}},{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
{% endif %}
|
||||
|
||||
##
|
||||
## Management hardware
|
||||
define hostgroup {
|
||||
hostgroup_name phx2_mgmt_systems
|
||||
alias phx2_mgmt_systems
|
||||
members {% for host in vars['phx2_management_hosts'] %}{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue