Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcriv/ansible-role-nvm
Role to install nvm and multiple nodejs versions.
https://github.com/pcriv/ansible-role-nvm
ansible nvm playbook
Last synced: 2 days ago
JSON representation
Role to install nvm and multiple nodejs versions.
- Host: GitHub
- URL: https://github.com/pcriv/ansible-role-nvm
- Owner: pcriv
- License: mit
- Created: 2015-05-11T13:45:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T20:54:56.000Z (about 5 years ago)
- Last Synced: 2024-08-22T22:31:31.095Z (3 months ago)
- Topics: ansible, nvm, playbook
- Size: 26.4 KB
- Stars: 20
- Watchers: 1
- Forks: 19
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ansible-roles - pablocrivella.nvm - Role to install nvm and multiple nodejs versions. (Ansible roles / Languages)
README
# Ansible Role: NVM
[![Build
Status](http://img.shields.io/travis/pablocrivella/ansible-role-nvm.svg?style=flat)](http://travis-ci.org/pablocrivella/ansible-role-nvm)
[![Ansible
Galaxy](http://img.shields.io/badge/galaxy-pablocrivella.nvm-660198.svg?style=flat)](https://galaxy.ansible.com/list#/roles/3745)Role to install nvm and multiple nodejs versions.
## Requirements
Tested with Ansible 2.0.0.2.
## Role Variables
```yaml
---
# This could be set to 'user' to support user installs.
nvm_env: systemnvm_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
```yaml
- hosts: js
roles:
- pablocrivella.nvm
```For a more detailed example check this [Playbook](https://github.com/pablocrivella/apps-forge/blob/master/provisioning/js.yml).
## License
MIT
## Author Information
Pablo Crivella.
## Contributors
- [David Farrington](https://github.com/farridav)
- [Lorenz Bischof](https://github.com/Lorenzbi)