update nvm
This commit is contained in:
		
							
								
								
									
										16
									
								
								local.yml
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								local.yml
									
									
									
									
									
								
							| @@ -63,11 +63,19 @@ | |||||||
|   - name: install nvm env |   - name: install nvm env | ||||||
|     lineinfile: |     lineinfile: | ||||||
|       path: /home/gianm/.zshrc |       path: /home/gianm/.zshrc | ||||||
|       line: '\x0a export NVM_DIR="$HOME/.nvm" \x0a |       line: 'export NVM_DIR="$HOME/.nvm"' | ||||||
|             [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"\x0a |    | ||||||
|             [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"\x0a' |   - name: install nvm env | ||||||
|  |     lineinfile: | ||||||
|  |       path: /home/gianm/.zshrc | ||||||
|  |       line: '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' | ||||||
|  |    | ||||||
|  |   - name: install nvm env | ||||||
|  |     lineinfile: | ||||||
|  |       path: /home/gianm/.zshrc | ||||||
|  |       line: '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' | ||||||
|    |    | ||||||
|   - name: install node |   - name: install node | ||||||
|     become: true |     become: true | ||||||
|     become_user: gianm |     become_user: gianm | ||||||
|     shell: zsh && source /home/gianm/.zshrc && nvm install --lts |     shell: zsh && source /home/gianm/.zshrc && nvm install --lts | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user