From cda17ecd87915c76b0a58d3f81674f8f55ece25d Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 13 Jun 2019 16:28:12 +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 fb9f1c9..9ceb317 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -17,7 +17,7 @@
       tags:
         - ApacheConfig
 
-  when: not excluded_roles or "letsencrypt" not in excluded_roles and groups.proxyserver is not defined
+  when: (not excluded_roles or "letsencrypt" not in excluded_roles) and groups.proxyserver is not defined
 
 - block:
     - name: Install matomo
-- 
GitLab