geerlingguy.drupal-console

Ansible Role: Drupal Console

OUTDATED: This role is outdated. Please install Drupal Console directly in your Drupal project using composer require drupal/console, or consider using Drush instead.

Build Status

This role installs Drupal Console on any Linux or UNIX system.

Requirements

You need to have php (version 5.6 or higher) installed and working.

Role Variables

Here are the variables you can use, along with their default values (check defaults/main.yml):

drupal_console_path: /usr/local/bin/drupal

This is the location where Drupal Console will be installed. It should be in your user's $PATH so you can use it by just typing drupal.

drupal_console_keep_updated: false

By default, this role will not update Drupal Console if you run it again. To always update to the latest version when you run the role, change this variable to true.

drupal_console_config: ~/.console

This is the path to the configuration file for Drupal Console.

Dependencies

  • geerlingguy.php (Installs PHP).

Example Playbook

- hosts: servers
  roles:
    - role: geerlingguy.drupal-console

After running the playbook, drupal will be installed in /usr/local/bin/drupal (you can change this location), and it will be accessible like normal system commands.

License

MIT / BSD

Author Information

This role was created in 2015 by Jeff Geerling, who also authored Ansible for DevOps.

Installa
ansible-galaxy install geerlingguy.drupal-console
Licenza
mit
Download
24.7k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns