devenvs
nodenv
Ansible role to install nodenv
Role Variables
Set nodenv_env: system
to install nodenv system-wide, or nodenv_env: local
for local installation.
Add plugins under nodenv.plugins
var.
Define node versions to install under nodes
var.
Example:
nodenv_env: system
nodenv:
plugins:
- { name: node-build, repo: 'https://github.com/nodenv/node-build.git' }
nodes:
- version: 9.11.1
Supported OS
- Ubuntu
- precise (12.04)
- trusty (14.04)
- xenial (16.04) - xenial requires python2 to be installed for ansible support
- CentOS
- 6
- 7
- RHEL
- 6
- 7
Example Playbook
---
# Example playbook
- name: nodenv setup
hosts: servers
gather_facts: yes
tasks:
- include_role:
name: eendroroy.nodenv
vars:
nodenv_env: system
pythons:
- version: 9.11.1
Contributing
Bug reports and pull requests are welcome on GitHub at ansible-role-nodenv repository. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Author
- indrajit - Owner - eendroroy
License
The project is available as open source under the terms of the MIT License.
About
Manage most (if not all) of the Xenvs environments available. It plays a similar role as the `anyenv` package, although it does not uses `anyenv` to perform the management. Environments tested so far are:: - rbenv - pyenv - jenv - nodenv - goenv
Install
ansible-galaxy install Townk/ansible-devenvs
License
mit
Downloads
27
Owner