Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgilad/ansible-role-nvm
An Ansible role to install and setup nvm
https://github.com/pgilad/ansible-role-nvm
ansible ansible-role nvm utility
Last synced: about 2 months ago
JSON representation
An Ansible role to install and setup nvm
- Host: GitHub
- URL: https://github.com/pgilad/ansible-role-nvm
- Owner: pgilad
- License: mit
- Created: 2015-10-16T11:00:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T09:30:20.000Z (almost 6 years ago)
- Last Synced: 2024-10-24T12:27:55.584Z (3 months ago)
- Topics: ansible, ansible-role, nvm, utility
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-role-nvm
> An Ansible role to install and setup nvm
[![Build Status](http://img.shields.io/travis/pgilad/ansible-role-nvm.svg?style=flat)](https://travis-ci.org/pgilad/ansible-role-nvm)
## Requirements
None
## Role Variables
- `nvm_version` - `nvm` git version tag. Can be any valid git ref tag. Defaults to `master`.
- `nvm_repository` - `nvm` git repository. Defaults to `https://github.com/creationix/nvm.git`
- `nvm_install_path` - path to install nvm. Defaults to `/home/{{ ansible_ssh_user }}/.nvm`.
- `nvm_set_aliases` - array of aliases for nvm to set. Defaults to `{ source: default, target: stable }`
- `nvm_install_versions` - array of versions to install with `nvm`. Defaults to `["stable"]`## Dependencies
None
## Example Playbook
```yml
- hosts: servers
roles:
- pgilad.nvm
```## License
MIT © [Gilad Peleg](https://www.giladpeleg.com)