Skip to content
Snippets Groups Projects
Commit 3244e9ec authored by jurgenhaas's avatar jurgenhaas
Browse files

Rebuild cache before checking site status in case that some constructors have been updated

parent 05c73be5
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,15 @@
when: drush_version_main|default('8') == '8'
- name: Check Drush Status
shell: drush -y {{ drushAlias }} status
shell: drush -y {{ drushAlias }} {{ item }}
args:
chdir: '{{ webRoot }}'
with_items:
- cache-rebuild
- status
register: drush_status
changed_when: no
ignore_errors: yes
when: drushAliasValidate in drush_aliases.stdout_lines
- name: Run Post Deploy Tasks
......
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