2020-02-07 07:43:17 +00:00
|
|
|
---
|
|
|
|
- name: Install Composer dependencies
|
|
|
|
composer:
|
|
|
|
command: install
|
|
|
|
working_dir: '{{ ansistrano_release_path.stdout }}'
|
|
|
|
|
|
|
|
- name: Generate settings.php file
|
|
|
|
include_role:
|
|
|
|
name: './roles/drupal-settings'
|
2020-02-08 00:24:26 +00:00
|
|
|
|
|
|
|
- name: Import configuration
|
|
|
|
command: '{{ release_drush_path }} config-import -y chdir={{ release_web_path }}'
|
|
|
|
|
|
|
|
- name: Run database updates
|
|
|
|
command: '{{ release_drush_path }} updatedb -y chdir={{ release_web_path }}'
|
|
|
|
|
|
|
|
- name: Rebuild cache
|
|
|
|
command: '{{ release_drush_path }} cache-rebuild chdir={{ release_web_path }}'
|