Skip to content
Snippets Groups Projects
Commit 45a17c14 authored by jurgenhaas's avatar jurgenhaas
Browse files

Include defaults in condition such that it won't fail

parent 9c173317
Branches
No related tags found
No related merge requests found
......@@ -224,5 +224,5 @@
- name: "Run Post Deploy Tasks"
shell: drush -y @{{ inventory_hostname }}{{ drushSubkey }} {{ item }}
with_items: '{{ drupal_post_deploy_tasks[drupal.version|default("d7")] }}'
when: "drush_status is defined and ('Successful' in drush_status.stdout or 'Erfolgreich' in drush_status.stdout)"
when: "drush_status is defined and ('Successful' in drush_status.stdout|default('') or 'Erfolgreich' in drush_status.stdout|default(''))"
tags: 'deploy'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment