Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.25 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.25 KB

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.