DEPRECATED: This role is deprecated. Please install Drupal Console into your Drupal project directly with
composer require drupal/console
, or use Drush instead.
Installs Drupal Console on any Linux or UNIX system.
php
(version 5.6+) should be installed and working.
Available variables are listed below, along with default values (see defaults/main.yml
):
drupal_console_path: /usr/local/bin/drupal
The path where Drupal Console will be installed and available to your system. Should be in your user's $PATH
so you can use Drupal Console by entering drupal
instead of the full path.
drupal_console_keep_updated: false
By default, this role not update Drupal Console when it is run again. If you'd like always update Drupal Console to the latest version when this role is run, switch this variable to true
.
drupal_console_config: ~/.console
The path to the Drupal Console configuration file.
- geerlingguy.php (Installs PHP).
- hosts: servers
roles:
- role: geerlingguy.drupal-console
After the playbook runs, drupal
will be placed in /usr/local/bin/drupal
(this location is configurable), and will be accessible via normal system accounts.
MIT / BSD
This role was created in 2015 by Jeff Geerling, author of Ansible for DevOps.