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

Commit

Permalink
Hotfix: create ~/bin directory before adding it to our path (and late…
Browse files Browse the repository at this point in the history
…r using it for drupal-check)
  • Loading branch information
becw committed Jan 18, 2020
1 parent 9d51cf1 commit 168064a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conf/vagrant/provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
when: provision_user.stat.exists
tags: common

- name: Ensure ~/bin exists
file:
path: /home/vagrant/bin
state: directory
owner: vagrant
mode: '755'

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

0 comments on commit 168064a

Please sign in to comment.