mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Shorted generic- to gen-
This commit is contained in:
		
							
								
								
									
										12
									
								
								roles/gen-npm/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								roles/gen-npm/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| - name: Ensure npm is installed | ||||
|   package: | ||||
|     name: npm | ||||
|     state: present | ||||
|  | ||||
| - name: Run 'npm ci' | ||||
|   command: npm ci | ||||
|   args: | ||||
|     chdir: "{{ npm_project_folder }}" | ||||
|   when: npm_project_folder is defined | ||||
|   register: npm_output | ||||
|   changed_when: "'added' in npm_output.stdout or 'updated' in npm_output.stdout" | ||||
		Reference in New Issue
	
	Block a user