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.'
nvm.packages
list of package node. Defaults to'[]'
No depedencies.
- hosts: servers
roles:
- role: nvm
nvm:
user: deploy
version: v0.17.3
node_version: '0.10'
packages:
- bower
- karma
BSD
Jarno Keskikangas