Add Drush tasks

This commit is contained in:
Oliver Davies 2019-01-23 14:00:32 +00:00
parent 62a9b204a0
commit b402df87af
4 changed files with 15 additions and 4 deletions

View file

@ -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'

View file

@ -0,0 +1,3 @@
---
- name: Clear Drupal cache
command: '{{ release_drush_path }} --root {{ release_web_path }} cache-rebuild'

View file

@ -0,0 +1,5 @@
---
- name: Install Composer dependencies
composer:
command: install
working_dir: '{{ ansistrano_release_path.stdout }}'