1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #3 from mitra42/patch-3

NPM needs to run as sudo even if doing sudo runrole
This commit is contained in:
georgejhunt 2019-04-22 09:31:38 -07:00 committed by GitHub
commit 5247583de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,8 @@
- cmake
state: present
- name: Run 'npm install --allow-root --unsafe-perm=true' to create /opt/iiab/distweb/node_modules (CAN TAKE ~5 MINUTES)
command: npm install --allow-root --unsafe-perm=true
- name: Run 'sudo npm install --allow-root --unsafe-perm=true' to create /opt/iiab/distweb/node_modules (CAN TAKE ~5 MINUTES)
command: sudo npm install --allow-root --unsafe-perm=true
args:
chdir: "{{ distweb_dir }}"