mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Similar Node.js auto-check (comment)
This commit is contained in:
		
							parent
							
								
									77d482b2d1
								
							
						
					
					
						commit
						aa8ad496a7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -13,6 +13,9 @@
 | 
			
		|||
# IF SO & THIS DOESN'T MATCH nodejs_version AS SET IN defaults_vars.yml
 | 
			
		||||
# AND/OR local_vars.yml, INSTALL HALTS WITH AN EXPLANATION (PR #1447)
 | 
			
		||||
 | 
			
		||||
# 2019-07-04: FOR A SOMEWHAT MORE MODERN VERSION, SEE ALSO:
 | 
			
		||||
# github.com/iiab/iiab/blob/master/roles/nextcloud/tasks/main.yml#L18-L42
 | 
			
		||||
 | 
			
		||||
- name: Try to run 'nodejs -v' to get Node.js version
 | 
			
		||||
  # 'node -v' doesn't work with older versions e.g. Ubuntu 16.04's nodejs 4.2.6
 | 
			
		||||
  # Both below convert v10.15.1 to 10.x, but this is safer: (removes non-digits)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue