GetValkyrie/ansible-role-drush

Name: ansible-role-drush

Owner: Valkyrie

Description: Ansible Role - Drush for Drupal

Created: 2015-02-12 17:16:34.0

Updated: 2015-01-08 01:40:52.0

Pushed: 2015-05-26 01:49:02.0

Homepage: https://galaxy.ansible.com/list#/roles/433

Size: 115

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ansible Role: Drush

Build Status

Installs Drush, a command line shell and scripting interface for Drupal, on any Linux or UNIX system.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

drush_install_path: /usr/local/share/drush

The location of the entire drush installation (includes all the supporting files, as well as the drush executable file.

drush_path: /usr/local/bin/drush

The path where composer will be installed and available to your system. Should be in your user's $PATH so you can run commands simply with composer instead of the full path.

This role also relies on the presence of the composer_path variable, which is used to run composer. This could be, simply, composer on your system (if composer is in your user's $PATH).

drush_version: master

The version of Drush to install (examples: master for the bleeding edge, 7.x, 6.x, 6.2.0).

drush_keep_updated: no

Whether to keep Drush up-to-date with the latest revision of the branch specified by drush_version.

Dependencies
Example Playbook
- hosts: servers
  roles:
    - { role: geerlingguy.drush }

After the playbook runs, the drush command will be accessible from normal system accounts.

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.