nodenv

Ansible Role for Nodenv

Build Status GitHub issues

An Ansible role that installs Nodenv and NodeJS on Ubuntu and Debian

Requirements

None

Role Variables

Defaults

nodenv_user: "ubuntu"
nodenv_path: ".nodenv"
nodenv_version: "1.0.0"
nodenv_versions:
- 5.6.0

Description

  • 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.

Example Playbook

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

License

MIT/BSD

Credits

Eventtus

Created by Omar Abdel-Wahab and sponsored by Eventtus.

About

Nodenv Role

Install
ansible-galaxy install eventtus/ansible-role-nodenv
GitHub repository
License
mit
Downloads
36
Owner
Instant social network for events