Skip to content

Role to install nvm and multiple nodejs versions.

License

Notifications You must be signed in to change notification settings

BrandyMint/ansible-role-nvm

 
 

Repository files navigation

Ansible Role: NVM

Build Status Ansible Galaxy

Role to install nvm and multiple nodejs versions.

Requirements

Tested with Ansible 2.0.0.2.

Role Variables

---
# This could be set to 'user' to support user installs.
nvm_env: system

nvm_version: v0.31.6

# This sets the nvm global nodejs version.
nvm_default_node_version: stable

# List of nodejs versions to install.
nvm_node_versions:
  - stable

# List of default packages to install on each nodejs version.
nvm_global_packages: []

# List of users to install nvm and nodejs versions to.
# Ignored if nvm_env is set to 'system'
nvm_users: []

Dependencies

  • ANXS.git

Example Playbook

- hosts: js
  roles:
    - pablocrivella.nvm

For a more detailed example check this Playbook.

License

MIT

Author Information

Pablo Crivella.

Contributors

About

Role to install nvm and multiple nodejs versions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%