mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	don't curl to setup nodesource.list when nodesource.list is present
This commit is contained in:
		
							parent
							
								
									6e33566a61
								
							
						
					
					
						commit
						2632a3eff2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -69,6 +69,7 @@
 | 
			
		|||
  shell: curl -sL https://deb.nodesource.com/setup_{{ nodejs_version }} | bash -
 | 
			
		||||
  args:
 | 
			
		||||
    warn: no
 | 
			
		||||
    creates: /etc/apt/sources.list.d/nodesource.list
 | 
			
		||||
  when: internet_available and is_debuntu
 | 
			
		||||
  #when: internet_available and (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17)
 | 
			
		||||
  # NOT NEC TO TEST FOR is_raspbian_8 OR is_raspbian_9 AS /opt/iiab/iiab/vars/<OS>.yml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue