diff --git a/roles/internal/webserver-app/tasks/drupal.yml b/roles/internal/webserver-app/tasks/drupal.yml index 80ce3f70..316a988c 100644 --- a/roles/internal/webserver-app/tasks/drupal.yml +++ b/roles/internal/webserver-app/tasks/drupal.yml @@ -113,3 +113,13 @@ line: 'PATH="$PATH:{{ webserver_document_root }}/drupal/vendor/bin"' state: present become: false + when: ansible_os_family == "Debian" + +- name: + lineinfile: + path: ~/bash.profile + line: 'PATH="$PATH:{{ webserver_document_root }}/drupal/vendor/bin"' + state: present + become: false + when: ansible_os_family == "RedHat" +