From eb87803bab658e80d4ee3317de2ca78e57f42e95 Mon Sep 17 00:00:00 2001 From: Robin Gierse Date: Wed, 9 Oct 2024 12:52:38 +0200 Subject: [PATCH] Fix unnecessary trigger. --- roles/server/tasks/sites.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/server/tasks/sites.yml b/roles/server/tasks/sites.yml index d6a1c7c79..0fa28d7b4 100644 --- a/roles/server/tasks/sites.yml +++ b/roles/server/tasks/sites.yml @@ -165,7 +165,7 @@ msg: - "Just a trigger." loop: "{{ __checkmk_server_sites_created.results }}" - when: __checkmk_server_sites_created.changed | bool and not item.item.admin_pw is defined + when: __checkmk_server_sites_created.changed | bool and not item.item.admin_pw is defined and item.item.state != "absent" changed_when: true notify: Warn site admin password no_log: "{{ checkmk_server_no_log | bool }}"