Install nvm and Node.js.
git, curl, build-essential, libssl-dev. Requirements are installed by the role.
nvm_version
nvm version tag, orHEAD
. Defaults to0.35.0
nvm_node_version
Node.js version. Defaults to12.13.0
nvm_install_path
nvm folder path. Defaults to~/.nvm
nvm_shell_init_file
The Shell initialization file to add sourcing of NVM to. Defaults to~/.profile
No dependencies.
- hosts: servers
roles:
- role: stephdewit.nvm
nvm_version: 0.4.0
nvm_node_version: 0.10
nvm_shell_init_file: ~/.bashrc
BSD
- Jarno Keskikangas
- Stéphane de Wit