Re-enable database updates on deployment
This commit is contained in:
parent
ffed78ef8b
commit
cd9453096e
|
@ -20,13 +20,13 @@
|
||||||
chdir={{ release_web_path }}
|
chdir={{ release_web_path }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
# - name: Run database updates
|
- name: Run database updates
|
||||||
# command: >
|
command: >
|
||||||
# {{ release_drush_path }}
|
{{ release_drush_path }}
|
||||||
# updatedb -y
|
updatedb -y
|
||||||
# chdir={{ release_web_path }}
|
chdir={{ release_web_path }}
|
||||||
# register: update_database_result
|
register: update_database_result
|
||||||
# changed_when: "'No pending updates' not in update_database_result.stderr"
|
changed_when: "'No pending updates' not in update_database_result.stderr"
|
||||||
|
|
||||||
- name: Import configuration
|
- name: Import configuration
|
||||||
command: >
|
command: >
|
||||||
|
|
Loading…
Reference in a new issue