Skip to content

Commit

Permalink
Issue techjoomla#19 fix: NPM - Global folder issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakhan Mandloi committed Sep 28, 2017
1 parent 2a30e4b commit 40f5ff2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions environment-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,27 @@
tags:
- node
- devtools

- name: 'add profile file'
raw: sudo touch /home/{{server_runs_as}}/.profile
when: ansible_distribution_version == '16.04'
tags:
- node
- devtools

- name: 'update file'
raw: echo "export PATH=~/.npm-global/bin:$PATH" >> /home/{{server_runs_as}}/.profile
when: ansible_distribution_version == '16.04'
tags:
- node
- devtools

- name: 'update system variables'
raw: source /home/{{server_runs_as}}/.profile
when: ansible_distribution_version == '16.04'
tags:
- node
- devtools

- name: 'install python2'
raw: sudo apt-get -y install python-simplejson
Expand Down

0 comments on commit 40f5ff2

Please sign in to comment.