diff --git a/tasks/main.yml b/tasks/main.yml
index c4458a01c41ad29e83a0c3c35df14a842a3e2e66..e186f3a5c22f741ceba52575195c8de574f3c838 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -9,7 +9,7 @@
   - name: "Install Certs"
     include: '../../letsencrypt/tasks/cert.yml'
     with_subelements:
-      - '{{ drupal_settings }}'
+      - '{{ drupal_settings|default([]) }}'
       - domains
     loop_control:
       loop_var: domain
@@ -21,7 +21,7 @@
 - block:
   - name: "Install Drupal"
     include: install.yml
-    with_items: '{{ drupal_settings }}'
+    with_items: '{{ drupal_settings|default([]) }}'
     loop_control:
       loop_var: drupal
     when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
@@ -31,7 +31,7 @@
 - block:
   - name: "Collect Drupal Configuration"
     include: collect_config/main.yml
-    with_items: '{{ drupal_settings }}'
+    with_items: '{{ drupal_settings|default([]) }}'
     loop_control:
       loop_var: drupal
     when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id