From 25e6ca635d68686da812d7f8f4c84b186b40fde2 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Jun 2019 16:28:04 +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 db352d2..04f8a7b 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -24,4 +24,4 @@
         group: root
         mode: 644
 
-  when: not excluded_roles or "fluentd" not in excluded_roles and inventory_hostname in groups.logserver
+  when: (not excluded_roles or "fluentd" not in excluded_roles) and inventory_hostname in groups.logserver
-- 
GitLab