diff --git a/tasks/main.yml b/tasks/main.yml index f5ab292c14ac9e631bf1541063109a37edfc4cf4..8aca847fc9fb0a416e17166918bc52eb7a1d9afe 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -65,7 +65,7 @@ with_items: '{{ drupal_settings|default([]) }}' loop_control: loop_var: drupal - when: limit_site is not defined and (siteproject is not defined or siteproject == 'no' or drupal.siteproject is not defined or (siteproject == drupal.siteproject and drupal.src.git.branch == 'master')) + when: limit_site is not defined and (siteproject is not defined or siteproject == 'no' or drupal.siteproject is not defined or (siteproject == drupal.siteproject and drupal.src.git.branch|default('master') == 'master')) tags: - deploy