mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +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
 | 
					         - cmake
 | 
				
			||||||
      state: present
 | 
					      state: present
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Run 'npm install --allow-root --unsafe-perm=true' to create /opt/iiab/distweb/node_modules (CAN TAKE ~5 MINUTES)
 | 
					- name: Run 'sudo 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
 | 
					  command: sudo npm install --allow-root --unsafe-perm=true
 | 
				
			||||||
  args:
 | 
					  args:
 | 
				
			||||||
    chdir: "{{ distweb_dir }}"
 | 
					    chdir: "{{ distweb_dir }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue