Skip to content
Snippets Groups Projects
Commit 959f2483 authored by jurgenhaas's avatar jurgenhaas
Browse files

Do not install DrupalConsole when PHP version is 5.3

parent 41805363
No related branches found
No related tags found
No related merge requests found
---
# file: roles/drupalconsole/tasks/main.yml
- name: "Check Installation Requirement"
shell: ls /usr/local/bin/drupal
register: drupalconsole_available
failed_when: false
- block:
- include: install.yml
when: drupalconsole_available is defined and drupalconsole_available.stdout != '/usr/local/bin/drupal'
- name: "Check Installation Requirement"
shell: ls /usr/local/bin/drupal
register: drupalconsole_available
failed_when: false
- name: "Update to latest version"
shell: drupal self-update
- include: install.yml
when: drupalconsole_available is defined and drupalconsole_available.stdout != '/usr/local/bin/drupal'
- name: "Update to latest version"
shell: drupal self-update
when: php_version|default('5.5') != '5.3'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment