From 470e3de003cffea39d70076ab881055105454fca Mon Sep 17 00:00:00 2001 From: Eli Zoller Date: Tue, 1 Sep 2020 08:22:41 -0700 Subject: [PATCH] add path to bash profile --- roles/internal/webserver-app/tasks/drupal.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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