From ba326b3b0ce9f96ab9e187bbeec93256be09f798 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Jun 2019 16:28:23 +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 a9432ac..1660607 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -22,4 +22,4 @@
       tags:
         - always
 
-  when: not excluded_roles or "vpn" not in excluded_roles and role_vpn_completed is not defined and vpn is defined and vpn.subnet is defined
+  when: (not excluded_roles or "vpn" not in excluded_roles) and role_vpn_completed is not defined and vpn is defined and vpn.subnet is defined
-- 
GitLab