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 5692429 commit 2a30e4b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions environment-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
- devtools

- name: 'export to npmrc file'
raw: echo "export PATH=/home/"{{server_runs_as}}"/.npm-global/bin:"$PATH"" >> /home/{{server_runs_as}}/.npmrc
raw: echo "prefix=/home/"{{server_runs_as}}"/.npm-global/" >> /home/{{server_runs_as}}/.npmrc
when: ansible_distribution_version == '16.04'
tags:
- node
Expand All @@ -91,13 +91,6 @@
- node
- devtools

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

- name: 'install python2'
raw: sudo apt-get -y install python-simplejson
when: ansible_distribution_version == '16.04'
Expand Down

0 comments on commit 2a30e4b

Please sign in to comment.