try a different way to get this working
This commit is contained in:
parent
d7080ffee1
commit
0163e646ad
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
define servicegroup {
|
||||
servicegroup_name fp-wiki
|
||||
alias Fedora Project Wiki
|
||||
members {% for host in groups['proxies']|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, http-fedoraproject.org-wiki, {% endif %}{% endfor %}{% for host in groups['proxies'|sort] %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, http-fedoraproject.org-wiki-non-cached {% if not loop.last %} , {% endif %} {% endif %}{% endfor %}
|
||||
members {% for host in groups['proxies']|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, http-fedoraproject.org-wiki, {{host}}, http-fedoraproject.org-wiki-non-cached, {% endif %}{% endfor %}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue