-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
102e9b7
commit cbd5a6e
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
## | ||
# Drush install, a Drupal shell tool. | ||
# | ||
# Ubuntu only due to using apt. | ||
# | ||
- name: PEAR for obtaining drush. | ||
action: apt pkg=php-pear state=installed | ||
tags: drush | ||
|
||
- name: Update PEAR. | ||
action: command pear upgrade-all | ||
tags: drush | ||
|
||
- name: Setup PEAR channel for drush | ||
action: command pear channel-discover pear.drush.org creates=/usr/share/php/.channels/pear.drush.org.reg | ||
tags: drush | ||
|
||
- name: Install drush for Drupal | ||
action: command pear install drush/drush creates=/usr/bin/drush | ||
tags: drush | ||
|
||
- name: Run drush once so it downloads it's dependencies. | ||
action: command drush | ||
tags: drush | ||
|