mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 14:30:45 +08:00
fix broken endif in all.cfg
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
8ea853e92b
commit
fa91e4d065
@@ -7,7 +7,7 @@
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
members {% for host in groups[key]|sort %}hostvars[host].nagios_Can_Connect == true {{host}}, {% endfor %}
|
||||
members {% for host in groups[key]|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, %{endif}{% endfor %}
|
||||
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user