Install a more modern version of Drush than is normally available in stock yum/apt repositories.
If you're using Drupal 8 or newer, you don't want this. You want Drush installed from composer instead.
- Ansible 2.0
- Drupal 7 or older
None
None
Add the following to your requirements.yml
file:
- name: acromedia.drush
src: https://github.com/AcroMedia/ansible-role-drush
Then run:
ansible-galaxy install -r requirements.yml
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: acromedia.drush }
BSD
Dale Anderson, Acro Media Inc. https://www.acromediainc.com/