diff --git a/requirements.yml b/requirements.yml index 44b46964..5449c0c0 100644 --- a/requirements.yml +++ b/requirements.yml @@ -40,9 +40,6 @@ - src: geerlingguy.drush version: 3.1.1 -- src: geerlingguy.drupal-console - version: 1.1.1 - - src: https://github.com/Islandora-Devops/ansible-role-activemq name: Islandora-Devops.activemq version: master diff --git a/roles/internal/webserver-app/tasks/drupal.yml b/roles/internal/webserver-app/tasks/drupal.yml index b19594b9..f6a964d6 100644 --- a/roles/internal/webserver-app/tasks/drupal.yml +++ b/roles/internal/webserver-app/tasks/drupal.yml @@ -106,3 +106,20 @@ dest: "{{ drupal_external_libraries_directory }}/pdf.js" creates: "{{ drupal_external_libraries_directory }}/pdf.js/build" remote_src: yes + +- name: Add project's /vendor/bin to $PATH (ubuntu) + lineinfile: + path: ~/.profile + line: 'PATH="$PATH:{{ webserver_document_root }}/drupal/vendor/bin"' + state: present + become: false + when: ansible_os_family == "Debian" + +- name: Add project's /vendor/bin to $PATH (centos) + lineinfile: + path: ~/.bash_profile + line: 'PATH="$PATH:{{ webserver_document_root }}/drupal/vendor/bin"' + state: present + become: false + when: ansible_os_family == "RedHat" + diff --git a/webserver.yml b/webserver.yml index eb22b046..916b31ac 100644 --- a/webserver.yml +++ b/webserver.yml @@ -19,7 +19,6 @@ - geerlingguy.git - geerlingguy.composer - geerlingguy.drush - - geerlingguy.drupal-console - geerlingguy.drupal - perms-fix - Islandora-Devops.drupal-openseadragon