mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
fix jinja2 syntax. really I know how to code
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
fa91e4d065
commit
0b6f47fe3d
@@ -7,7 +7,7 @@
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
members {% for host in groups[key]|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, %{endif}{% 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