Files
ansible-roles/roles/repo_nodejs/templates/nodejs.repo.j2

12 lines
435 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
[nodejs]
2025-07-28 13:00:23 +02:00
baseurl = https://rpm.nodesource.com/pub_{{ nodejs_major_version }}.x/nodistro/nodejs/$basearch
2021-12-01 19:13:34 +01:00
gpgcheck = 1
2025-07-28 13:00:23 +02:00
gpgkey = https://rpm.nodesource.com/gpgkey/ns-operations-public.key
2021-12-01 19:13:34 +01:00
name = Node.js Packages for Enterprise Linux
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8', '>=') %}
# Workaround a bug in dnf which would make the default module mask
module_hotfixes = true
{% endif %}