https://github.com/rolehippie/nodejs
Ansible role to install nodejs javascript runtime
https://github.com/rolehippie/nodejs
ansible ansible-role hacktoberfest role
Last synced: 6 months ago
JSON representation
Ansible role to install nodejs javascript runtime
- Host: GitHub
- URL: https://github.com/rolehippie/nodejs
- Owner: rolehippie
- License: apache-2.0
- Created: 2023-05-04T11:55:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T14:32:09.000Z (6 months ago)
- Last Synced: 2026-01-12T18:05:14.044Z (6 months ago)
- Topics: ansible, ansible-role, hacktoberfest, role
- Language: Nix
- Homepage:
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# nodejs
[](https://github.com/rolehippie/nodejs)
[](https://github.com/rolehippie/nodejs/actions/workflows/general.yml)
[](https://github.com/rolehippie/nodejs/actions/workflows/docs.yml)
[](https://github.com/rolehippie/nodejs/actions/workflows/galaxy.yml)
[](https://github.com/rolehippie/nodejs/blob/master/LICENSE)
[](https://galaxy.ansible.com/rolehippie/nodejs)
Ansible role to install nodejs javascript runtime.
## Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.
## Table of contents
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [nodejs_arch](#nodejs_arch)
- [nodejs_keyring](#nodejs_keyring)
- [nodejs_packages](#nodejs_packages)
- [nodejs_version](#nodejs_version)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---
## Requirements
- Minimum Ansible version: `2.10`
## Default Variables
### nodejs_arch
Architecture for nodejs repo
#### Default value
```YAML
nodejs_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
```
### nodejs_keyring
Path for the repository keyring
#### Default value
```YAML
nodejs_keyring: /usr/share/keyrings/nodesource-archive-keyring.gpg
```
### nodejs_packages
List of packages to install
#### Default value
```YAML
nodejs_packages:
- nodejs
```
### nodejs_version
Major version of nodejs to install
#### Default value
```YAML
nodejs_version: 18
```
## Discovered Tags
**_nodejs_**
## Dependencies
- None
## License
Apache-2.0
## Author
[Thomas Boerger](https://github.com/tboerger)