From d96409ef8bd690ad794d9521e223354de6293519 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Jun 2019 16:27:53 +0200
Subject: [PATCH] ansible-playbooks/general#85 Fix some complex when statements

---
 tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index a71572b..f96bf04 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -27,4 +27,4 @@
       tags:
         - always
 
-  when: not excluded_roles or "zabbix_agent" not in excluded_roles and role_zabbix_agent_completed is not defined
+  when: (not excluded_roles or "zabbix_agent" not in excluded_roles) and role_zabbix_agent_completed is not defined
-- 
GitLab