An Ansible role that installs Nodenv and NodeJS on Ubuntu and Debian
None
nodenv_user: "ubuntu"
nodenv_path: ".nodenv"
nodenv_version: "1.0.0"
nodenv_versions:
- 5.6.0
nodenv_user
: System user to install nodenv for.nodenv_path
: Install path.nodenv_version
: Version of nodenv to install.nodenv_versions
: Array of versions of NodeJS to install.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- role: eventtus.nodenv
nodenv_versions:
- 5.6.0
MIT/BSD
Created by Omar Abdel-Wahab and sponsored by Eventtus.