diff --git a/tasks/deploy/post-tasks.yml b/tasks/deploy/post-tasks.yml index 3469209aac3ac66c82e6d75aa4341c8b4ebfdb6b..a50f2a75a1264d28447d4a024fa8e6607cfea1b5 100644 --- a/tasks/deploy/post-tasks.yml +++ b/tasks/deploy/post-tasks.yml @@ -56,7 +56,7 @@ args: chdir: '{{ webRoot }}' with_items: '{{ drupal_post_deploy_tasks[drupal.version|default("d7")] }}' - when: drushStatus + when: drushStatus and (item != 'config-import' or SKIP_CONFIG_IMPORT is not defined or SKIP_CONFIG_IMPORT == 'no') - name: Resume and trigger CAE shell: drush -y {{ drushAlias }} {{ item }}