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