An ansible role to install nodejs on Linux.
-
ansible_nodejs_download_dir:
Download path on the control machine that will be used. Defaults to
~/.ansible/download. -
ansible_nodejs_version:
Nodejs version to be installed. Defaults to
v0.12.6. -
ansible_nodejs_install_base_dir:
Installation prefix that will be used at the hosts. Defaults to
/opt/nodejs. -
ansible_nodejs_sha256sum:
Nodejs package sha256sum, v0.12.6's sha256sum is :
ebbd70ffe0daac6b33df74577c9d25cfb678dbc0016a5ea9eff99d2c5bdb3851. -
ansible_nodejs_global_pkgs:
Nodejs global packages to install, defaults to:
[] -
ansible_nodejs_npm_mirror:
Nodejs npm mirror, defaults to empty.
- hosts: all
roles:
- role: ansible-nodejs
ansible_nodejs_version: 'v0.12.6'
ansible_nodejs_sha256sum: 'ebbd70ffe0daac6b33df74577c9d25cfb678dbc0016a5ea9eff99d2c5bdb3851'
ansible_nodejs_global_pkgs: [forever, pm2]
BSD