diff --git a/roles/internal/webserver-app/tasks/drupal.yml b/roles/internal/webserver-app/tasks/drupal.yml index b19594b9..80ce3f70 100644 --- a/roles/internal/webserver-app/tasks/drupal.yml +++ b/roles/internal/webserver-app/tasks/drupal.yml @@ -106,3 +106,10 @@ 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 + lineinfile: + path: ~/.profile + line: 'PATH="$PATH:{{ webserver_document_root }}/drupal/vendor/bin"' + state: present + become: false