test to see why we put this in
This commit is contained in:
parent
b7f9164fb9
commit
8cf6069e6d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
define hostgroup{
|
define hostgroup{
|
||||||
hostgroup_name {{ key }}
|
hostgroup_name {{ key }}
|
||||||
alias {{ key }}
|
alias {{ key }}
|
||||||
members {% for host in groups[key]|sort %}{% if hostvars[host].nagios_Check_Services['ping'] == true or hostvars[host].nagios_Check_Services['sshd'] == true %}{{host}}, {% endif %}{% endfor %}
|
members {% for host in groups[key]|sort %}{{host}}, {% endfor %}
|
||||||
|
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue