Role to install the Node Version Manager and Nodejs
To install node under the ansible users directory (sudo not required):
node_version: v8.12.0
nvm_version: v0.33.11
Optionally change the user NVM installs as:
nvm_install_user: "{{ ansible_user_id }}"
- hosts: servers
vars:
package_list:
- curl
- htop
roles:
- { role: engonzal.ansible_role_node, tags: [ 'node'] }
BSD
Noe Gonzalez - http://engonzal.com