try this
This commit is contained in:
parent
06a23947a5
commit
60469243d2
3 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
## {{ env }}
|
||||
|
||||
{% for key, value in groups.iteritems() %}
|
||||
{% if groups[key] != [] %}
|
||||
{% if groups[key] != [] and hostvars[host].nagios_Check_Services['monitor'] == true %}
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue