From 0abf78b9ca6319a467f8b51320a94bd4ec3df107 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Jun 2019 16:28:07 +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 7f863b4..4a25bd0 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -12,4 +12,4 @@
     - name: Import jailkit
       import_tasks: jailkit.yml
 
-  when: not excluded_roles or "jailkit" not in excluded_roles and jailkit
+  when: (not excluded_roles or "jailkit" not in excluded_roles) and jailkit
-- 
GitLab