From 8cd7809278eb7ecbfb0e89078b3343afc88693dc Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 4 Feb 2020 20:28:55 +0000 Subject: [PATCH] aws does not have parents --- roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 index 18cc54aff2..9b56238f0b 100644 --- a/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 @@ -22,11 +22,6 @@ define host { {% else %} address {{ host }} {% endif %} -{% if hostvars[host]['vmhost'] is defined %} - parents {{ hostvars[host]['vmhost'] }} -{% elif hostvars[host].datacenter is defined %} - parents internetx-gw -{% endif %} } {% endif %} {% endfor %}