Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Still add the ~/bin to the $PATH, since the drupal-check installation…
Browse files Browse the repository at this point in the history
… relies on this too.
  • Loading branch information
becw committed Nov 28, 2019
1 parent 281f408 commit 1800af3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/vagrant/provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,18 @@
when: provision_user.stat.exists
tags: common

- name: Add the ~/bin to the path
lineinfile: dest=/home/vagrant/.profile state=present line='export PATH="$PATH:$HOME/bin"'
tags: drush

- name: Add the project's vendor/bin to the path
lineinfile: dest=/home/vagrant/.profile state=present line='export PATH="$PATH:/var/www/{{ hostname }}/vendor/bin"'
tags: common

- name: Add the ~/bin to the zsh path
lineinfile: dest=/home/vagrant/.zshrc state=present create=yes line='export PATH="$PATH:$HOME/bin"'
tags: drush

- name: Add $HOME/bin and the project's vendor/bin to the zsh path
lineinfile: dest=/home/vagrant/.zshrc state=present create=yes line='export PATH="$PATH:$REPO/vendor/bin:$HOME/bin:/var/www/{{ hostname }}/vendor/bin"'
tags: common
Expand Down

0 comments on commit 1800af3

Please sign in to comment.