Skip to content

eventtus/ansible-role-nodenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.