diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2017-09-09 19:44:57 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2017-09-09 19:44:57 +0000 |
| commit | 2aebc73ba750bfbbacd00a30522b7c24bbf9f6d4 (patch) | |
| tree | db9242da168bdfbe2bbbf6321d90e43996a10dd8 /roles | |
| parent | 65e4e081e8685a5a484a1569ee230c9c1347abc0 (diff) | |
| download | ansible-2aebc73ba750bfbbacd00a30522b7c24bbf9f6d4.tar.gz ansible-2aebc73ba750bfbbacd00a30522b7c24bbf9f6d4.tar.xz ansible-2aebc73ba750bfbbacd00a30522b7c24bbf9f6d4.zip | |
missing endif?
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 index 7da23285c..a32d637ce 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/checkswap.cfg.j2 @@ -1,5 +1,5 @@ define hostgroup { hostgroup_name CheckSwap alias Swap-Is-Low - members {% for host in groups['all'] %}{% if hostvars[host].nagios_Check_Services['swap'] == true %}{{host}}{% if not loop.last %},{% endif %} {% endfor %} + members {% for host in groups['all'] %}{% if hostvars[host].nagios_Check_Services['swap'] == true %}{{host}}{% if not loop.last %},{% endif %} {% endif %} {% endfor %} } |
