Skip to content

Ainsible build fails due to Drupal Console URL being a 500 #1634

@klidifia

Description

@klidifia

The full ainsible build doesn't complete as it stops when trying to fetch https://drupalconsole.com/installer

It seems that this URL has been down intermittently over the last several weeks becoming a persistent issue.

TASK [geerlingguy.drupal-console : Install Drupal Console.] ********************
Thursday 01 October 2020  10:39:15 +1300 (0:00:00.029)       0:04:40.242 ****** 
fatal: [default]: FAILED! => {"changed": false, "dest": "/usr/local/bin/drupal", "elapsed": 2, "msg": "Request failed", "response": "HTTP Error 500: Internal Server Error", "status_code": 500, "url": "https://drupalconsole.com/installer"}

I tried changing it to use composer in /roles/external/geerlingguy.drupal-console/tasks/main.yml but could not get it to work, but wonder if that could be the right approach to take.

It currently reads as:

- name: Install Drupal Console.
  get_url:
    url: https://drupalconsole.com/installer
    dest: "{{ drupal_console_path }}"

I tried changing to a few other variants including:

- name: Install Drupal Console.
    shell: >
      composer global require drupal/console && cp $(composer global config home)/vendor/bin/drupal  {{ drupal_console_path }}

Metadata

Metadata

Assignees

Labels

Subject: Ansible PlaybookRelated to the maintenance and upkeep associated with an Ansible Playbook for Islandora. Always alsoSubject:Deploymentrelated to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker)Type: questionasks for support (asks a question)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions