diff --git a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 index 774cf160e9..0e53dc55e1 100644 --- a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 @@ -1,5 +1,5 @@ {% for host in groups['all'] %} -{% if hostvars[host].datacenter == 'cloud' || hostvars[host].datacenter == 'fedorainfracloud' %} +{% if hostvars[host].datacenter == 'cloud' or hostvars[host].datacenter == 'fedorainfracloud' %} define host { use defaulttemplate host_name {{ host }}