geerlingguy / ansible-role-drupal

Ansible Role - Drupal
https://galaxy.ansible.com/geerlingguy/drupal/
MIT License
92 stars 51 forks source link

Allow playbook to specify extra tasks to run post-deploy-code-update #34

Closed geerlingguy closed 4 years ago

geerlingguy commented 7 years ago

It might just be a variable like:

drupal_deploy_update_tasks:
  - drush cim -y
  - drush [etc]

But basically, see: https://github.com/geerlingguy/ansible-role-drupal/blob/master/tasks/update.yml#L7-L8

bryanbraun commented 7 years ago

I like this!

What do you think about having updatedb and cache-rebuild in this list as well (perhaps as the default tasks). That way downstream users can reorganize those if needed.

geerlingguy commented 7 years ago

@bryanbraun - Definitely yes to updb... for cache-rebuild, I don't know if I want to default to cr which only works on D8, figure out some way to support cc all on D < 8 and cr on D == 8, or just leave out the cache rebuild.

There are still a lot of people using D7 :(

stale[bot] commented 4 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 4 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.