Skip to content

Commit

Permalink
👌 IMPROVE: ~/.local/bin add task
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Nov 30, 2020
1 parent 594e88d commit 4b6cd49
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/folders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@
path: "{{ simulationbase_scratch_folder }}"
state: directory
mode: 0777

- name: Add ~/.local/bin to the PATH # for pip install --user
become: true
become_user: "{{ simulationbase_vm_user }}"
lineinfile:
path: "${HOME}/.bashrc"
line: "export PATH=$PATH:${HOME}/.local/bin"

0 comments on commit 4b6cd49

Please sign in to comment.