Ansible Role nodejs

This role installs Node.js.

By default, the role just installs the latest available nodejs package. One can use nodejs__dnf_module_stream to install nodejs from a DNF module stream.

Runs on

  • RHEL 8 (and compatible)

Tags

Tag

What it does

nodejs

Installs Node.js

Optional Role Variables

Variable

Description

Default Value

nodejs__dnf_module_stream

The DNF module stream from which Node.js should be installed. Possible options: dnf module list nodejs.

unset

Example:

# optional
nodejs__dnf_module_stream: 16

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich