Add Drush tasks
This commit is contained in:
parent
62a9b204a0
commit
b402df87af
4 changed files with 15 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
---
|
||||
- name: Install Composer dependencies
|
||||
composer:
|
||||
command: install
|
||||
working_dir: '{{ ansistrano_release_path.stdout }}'
|
||||
- name: Run database updates
|
||||
command: '{{ release_drush_path }} --root {{ release_web_path }} updatedb'
|
||||
|
|
3
ansible/deploy/after-symlink.yml
Normal file
3
ansible/deploy/after-symlink.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
- name: Clear Drupal cache
|
||||
command: '{{ release_drush_path }} --root {{ release_web_path }} cache-rebuild'
|
5
ansible/deploy/after-update-code.yml
Normal file
5
ansible/deploy/after-update-code.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install Composer dependencies
|
||||
composer:
|
||||
command: install
|
||||
working_dir: '{{ ansistrano_release_path.stdout }}'
|
Loading…
Add table
Add a link
Reference in a new issue