Files
ansible-roles/roles/repo_nodejs/templates/nodejs.repo.j2
2025-07-28 13:00:23 +02:00

12 lines
435 B
Django/Jinja

[nodejs]
baseurl = https://rpm.nodesource.com/pub_{{ nodejs_major_version }}.x/nodistro/nodejs/$basearch
gpgcheck = 1
gpgkey = https://rpm.nodesource.com/gpgkey/ns-operations-public.key
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 %}