{"id":13936591,"url":"https://github.com/nodesource/ansible-nodejs-role","last_synced_at":"2025-04-05T04:14:23.344Z","repository":{"id":147579392,"uuid":"22939348","full_name":"nodesource/ansible-nodejs-role","owner":"nodesource","description":"Ansible Role for Node.js Binary Install","archived":false,"fork":false,"pushed_at":"2025-02-12T17:17:09.000Z","size":31,"stargazers_count":131,"open_issues_count":19,"forks_count":47,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-29T03:11:17.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/nodesource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2014-08-14T03:01:45.000Z","updated_at":"2025-02-12T17:00:55.000Z","dependencies_parsed_at":"2025-03-29T03:10:50.546Z","dependency_job_id":"0bc4a3a6-789d-422e-b8ff-9b408129dcdf","html_url":"https://github.com/nodesource/ansible-nodejs-role","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fansible-nodejs-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fansible-nodejs-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fansible-nodejs-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fansible-nodejs-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodesource","download_url":"https://codeload.github.com/nodesource/ansible-nodejs-role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284953,"owners_count":20913704,"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":[],"created_at":"2024-08-07T23:02:49.222Z","updated_at":"2025-04-05T04:14:23.306Z","avatar_url":"https://github.com/nodesource.png","language":"Jinja","readme":"# ansible-nodejs-role\n\nThis is an Ansible role that adds the NodeSource APT repository and installs Node.js.\n\n## Supported Operating Systems\n\nCurrently, this role supports the following operating systems and releases:\n\n- **Ubuntu 20.04 LTS** (Focal Fossa)\n- **Ubuntu 22.04 LTS** (Jammy Jellyfish)\n- **Ubuntu 24.04 LTS** (Noble Numbat)\n- **Debian 11** (Bullseye)\n- **Debian 12** (Bookworm)\n\n## Usage\n\n### Install and Run Locally\n\nTo install and test this role locally, run:\n\n```sh\nANSIBLE_ROLES_PATH=../ ansible-playbook playbook.yml --ask-become-pass\n```\n\n### Install via Ansible Galaxy\n\nYou can install this role directly from Ansible Galaxy:\n\n```sh\nansible-galaxy install nodesource.node\n```\n\nAlternatively, use a `requirements.yml` file:\n\n```yaml\n- src: https://github.com/nodesource/ansible-nodejs-role\n```\n\nThen install it using:\n\n```sh\nansible-galaxy install -r requirements.yml\n```\n\n## Configuration\n\nExample playbook configuration:\n\n```yaml\n- hosts: servers\n  roles:\n    - nodesource.node\n```\n\n## Role Variables\n\n- `nodejs_nodesource_pin_priority`: Pin-Priority of the NodeSource repository (default: `500`).\n- `nodejs_version`: Set the Node.js version (options: `18.x`, `20.x`, `22.x`, `23.x`, default: `22.x`).\n\n## Testing\n\nThis role is automatically tested using GitHub Actions. To see how the CI/CD pipeline is configured, check the `.github/workflows/ci.yml` file.\n\n## Author\n\nOriginally developed by Mark Wolfe.\nMaintained by NodeSource.\n\n## License\n\nThis code is licensed under the MIT License. See the included [LICENSE.md](./LICENSE.md) file for more details.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Fansible-nodejs-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodesource%2Fansible-nodejs-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Fansible-nodejs-role/lists"}