diff --git a/tasks/main.yml b/tasks/main.yml
index 0299eeb89740358b6fc40d64e3a37884deaec294..5c43364f731ef55e76d6454848667ed38ac469c0 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -12,7 +12,7 @@
       - domains
     when: item.1.protocol|default("https") == "https" and item.1.letsencrypt|default(true)
 
-  when: '"letsencrypt" not in excluded_roles'
+  when: '"letsencrypt" not in excluded_roles and groups.proxyserver is not defined'
 
 - block:
   - name: "Install Drupal"