mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	use Andible to pin nodejs to 6.x (curl was not suffic on WiFi install)
This commit is contained in:
		
							parent
							
								
									b1e166db69
								
							
						
					
					
						commit
						3ef77c3962
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -16,12 +16,10 @@
 | 
			
		|||
  shell: curl -sL https://deb.nodesource.com/setup_6.x | bash -
 | 
			
		||||
  when: internet_available and is_debuntu
 | 
			
		||||
 | 
			
		||||
- name: Install sugarizer required packages - is_debuntu
 | 
			
		||||
  package: name={{ item }}
 | 
			
		||||
- name: Install nodejs=6.* which also installs npm - is_debuntu
 | 
			
		||||
  package: name=nodejs=6.*
 | 
			
		||||
           state=present
 | 
			
		||||
  when: internet_available and is_debuntu
 | 
			
		||||
  with_items:
 | 
			
		||||
    - nodejs
 | 
			
		||||
 | 
			
		||||
- name: Install npm non is_debuntu
 | 
			
		||||
  package: name={{ item }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue