Skip to content
Snippets Groups Projects
Commit 58bd7697 authored by jurgenhaas's avatar jurgenhaas
Browse files

Define a default, just in case

parent 4f2c877d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment