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:
commit
5247583de2
1 changed files with 2 additions and 2 deletions
|
@ -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 }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue