Re-order deploy steps
Run database changes before importing configuration. References #127
This commit is contained in:
parent
5745f51d4c
commit
5ec999e3f2
|
@ -8,13 +8,13 @@
|
|||
include_role:
|
||||
name: opdavies.drupal_settings_files
|
||||
|
||||
- name: Import configuration
|
||||
command: '{{ release_drush_path }} config-import -y'
|
||||
- name: Run database updates
|
||||
command: '{{ release_drush_path }} updatedb -y'
|
||||
args:
|
||||
chdir: '{{ release_web_path }}'
|
||||
|
||||
- name: Run database updates
|
||||
command: '{{ release_drush_path }} updatedb -y'
|
||||
- name: Import configuration
|
||||
command: '{{ release_drush_path }} config-import -y'
|
||||
args:
|
||||
chdir: '{{ release_web_path }}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue