{"id":21883180,"url":"https://github.com/eendroroy/ansible-role-nodenv","last_synced_at":"2026-04-05T21:35:09.781Z","repository":{"id":71991880,"uuid":"90496370","full_name":"eendroroy/ansible-role-nodenv","owner":"eendroroy","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-05T08:24:42.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T19:22:10.119Z","etag":null,"topics":["ansible-role","nodenv"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/eendroroy/nodenv/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eendroroy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-06T23:10:45.000Z","updated_at":"2022-01-31T13:46:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f22737b-619d-4723-8af9-1c64314c80c6","html_url":"https://github.com/eendroroy/ansible-role-nodenv","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fansible-role-nodenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fansible-role-nodenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fansible-role-nodenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fansible-role-nodenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eendroroy","download_url":"https://codeload.github.com/eendroroy/ansible-role-nodenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890109,"owners_count":20527036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","nodenv"],"created_at":"2024-11-28T09:39:39.825Z","updated_at":"2025-12-30T23:54:20.533Z","avatar_url":"https://github.com/eendroroy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodenv\n\n[![Build Status](https://travis-ci.org/eendroroy/ansible-role-nodenv.svg?branch=master)](https://travis-ci.org/eendroroy/ansible-role-nodenv)\n\n\n[![GitHub tag](https://img.shields.io/github/tag/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/tags)\n\n[![Contributors](https://img.shields.io/github/contributors/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/graphs/contributors)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/eendroroy/ansible-role-nodenv/master.svg)](https://github.com/eendroroy/ansible-role-nodenv)\n[![license](https://img.shields.io/github/license/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/blob/master/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/issues)\n[![GitHub closed issues](https://img.shields.io/github/issues-closed/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/issues?q=is%3Aissue+is%3Aclosed)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/pulls)\n[![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/eendroroy/ansible-role-nodenv.svg)](https://github.com/eendroroy/ansible-role-nodenv/pulls?q=is%3Apr+is%3Aclosed)\n\nAnsible role to install nodenv\n\n### Role Variables\n\nSet `nodenv_env: system` to install nodenv system-wide, or `nodenv_env: local` for local installation.\n\nAdd plugins under `nodenv.plugins` var.\n\nDefine node versions to install under `nodes` var.\n\nExample:\n\n```yml\nnodenv_env: system\n\nnodenv:\n  plugins:\n    - { name: node-build, repo: 'https://github.com/nodenv/node-build.git' }\n\nnodes:\n  - version: 9.11.1\n```\n\n### Supported OS\n\n- Ubuntu\n    - precise (12.04)\n    - trusty  (14.04)\n    - xenial  (16.04) - xenial requires python2 to be installed for ansible support\n- CentOS\n    - 6\n    - 7\n- RHEL\n    - 6\n    - 7\n\n### Example Playbook\n\n```yml\n---\n# Example playbook\n- name: nodenv setup\n  hosts: servers\n  gather_facts: yes\n\n  tasks:\n  - include_role:\n      name: eendroroy.nodenv\n    vars:\n      nodenv_env: system\n      pythons:\n        - version: 9.11.1\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [ansible-role-nodenv](https://github.com/eendroroy/ansible-role-nodenv) repository.\nThis project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere\nto the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Author\n\n* **indrajit** - *Owner* - [eendroroy](https://github.com/eendroroy)\n\n## License\n\nThe project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feendroroy%2Fansible-role-nodenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feendroroy%2Fansible-role-nodenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feendroroy%2Fansible-role-nodenv/lists"}