Install nvm and Node.js.
git, curl, build-essential, libssl-dev. Requirements are installed by the role.
nvm.user
Remote user. Defaults to ansibleremote_user
.nvm.version
nvm version tag, orHEAD
. Defaults tov0.4.0
nvm.node_version
Node.js version. Defaults to'0.10.'
No depedencies.
- hosts: servers
roles:
- role: nvm
nvm:
user: deploy
version: v0.4.0
node_version: '0.10'
BSD
Jarno Keskikangas