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: 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 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T09:30:20.000Z (over 7 years ago)
- Last Synced: 2025-03-30T14:26:39.699Z (about 1 year ago)
- Topics: ansible, ansible-role, nvm, utility
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- 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
[](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)