Re-enable database updates on deployment

This commit is contained in:
Oliver Davies 2021-01-22 01:11:47 +00:00
parent ffed78ef8b
commit cd9453096e

View file

@ -20,13 +20,13 @@
chdir={{ release_web_path }}
changed_when: false
# - name: Run database updates
# command: >
# {{ release_drush_path }}
# updatedb -y
# chdir={{ release_web_path }}
# register: update_database_result
# changed_when: "'No pending updates' not in update_database_result.stderr"
- name: Run database updates
command: >
{{ release_drush_path }}
updatedb -y
chdir={{ release_web_path }}
register: update_database_result
changed_when: "'No pending updates' not in update_database_result.stderr"
- name: Import configuration
command: >