Setup NVM, NodeJS, and NPM for development purpose. NVM allow developers to run multiple version of NodeJS on the same computer.
Ansible and an internet connection
nvm_version
is the version of the NVM installer. Check https://github.com/creationix/nvm for the most recent version.node_versions
is the list of node versions to install via NVM. We recommend installing at least one stable version.npm_global_packages
is the list of the NPM packages to be installed globally
none
To install NodeJS development environment, add the following in your playbook:
- hosts: servers
roles:
- { role: quocvu.nodejs }
MIT
Quoc Vu
https://github.com/quocvu
https://linkedin.com/in/quocvu