From 4a210b0e4e1db6b1647a8cf2a0d184173f9e58f8 Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 15 Sep 2021 09:48:28 +0200 Subject: [PATCH] Delete HV02 and other exceptions from role --- roles/icinga2_server/templates/conf.d/services.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/icinga2_server/templates/conf.d/services.conf.j2 b/roles/icinga2_server/templates/conf.d/services.conf.j2 index 454f8bd..48ae8d0 100644 --- a/roles/icinga2_server/templates/conf.d/services.conf.j2 +++ b/roles/icinga2_server/templates/conf.d/services.conf.j2 @@ -200,7 +200,7 @@ apply Service "lastupdate_by_ssh" { vars.by_ssh_command = "$by_ssh_custom_plugins_path$check_file_age -w 93600 -c 180000 -f /var/lastupdate" - assign where host.vars.os == "Linux" && host.vars.agent_type == "ssh" && host.name != "hv01.wirebrass.fr" && host.name != "hv02.wirebrass.fr" && host.name != "hv03.wirebrass.fr" && host.name != "radiosupinfo.wirebrass.fr" && host.name != "radio.supinfo.com.wirebrass.fr" + assign where host.vars.os == "Linux" && host.vars.agent_type == "ssh" && host.name != "hv01.wirebrass.fr" }