Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions roles/database_apply/database_apply-drupal7/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
loop_var: site
when: previous_build_number == 0 or (site.force_install is defined and site.force_install)

- name: Clear the cache.
ansible.builtin.include_role:
name: "cache_clear/cache_clear-{{ project_type }}"
when: previous_build_number > 0

- name: Apply Drupal database updates.
shell:
cmd: "{{ drush_bin }} -l {{ site.folder }} -y updb"
Expand Down
5 changes: 5 additions & 0 deletions roles/database_apply/database_apply-drupal8/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
loop_var: site
when: previous_build_number == 0 or (site.force_install is defined and site.force_install)

- name: Clear the cache.
ansible.builtin.include_role:
name: "cache_clear/cache_clear-{{ project_type }}"
when: previous_build_number > 0

- name: Apply Drupal database updates.
command:
cmd: "{{ drush_bin }} -l {{ site.folder }} -y updb"
Expand Down