Skip to content

Commit

Permalink
conditional for different profile location in centos
Browse files Browse the repository at this point in the history
  • Loading branch information
elizoller committed Sep 1, 2020
1 parent 470e3de commit 9841a94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/internal/webserver-app/tasks/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9841a94

Please # to comment.