It would be much safer to install it for vagrant. Just as a side note, I don't think it is the best idea to install nvm for the root user. "$NVM_DIR/bash_completion" # This loads nvm bash_completion bashrc, e.g.: export NVM_DIR="$HOME/.nvm" This is covered in detail in the Vagrant documentation, but here is a quick example that includes a section to use the Ansible provisioner to manage a single machine: This guide is optimized for Vagrant 1. I would suggest trying to move the nvm code from /root/.bashrc to /root/.bash_profile and run the command as vagrant ssh -c "cd /opt/path
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |