From 2885806badfbb554cf8f82b4e41f9d242282205d Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 13 Jun 2019 16:28:00 +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 069871b..62216f7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,7 +15,7 @@ loop_var: domain when: domain.protocol|default("https") == "https" and domain.letsencrypt|default(true) - 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: Ensure Download Directory -- GitLab