geerlingguy / ansible-role-nodejs

Ansible Role - Node.js
https://galaxy.ansible.com/geerlingguy/nodejs/
MIT License
410 stars 252 forks source link

NodeJS (20.x) Change distribution repository #154

Closed JeGoi closed 6 months ago

JeGoi commented 10 months ago

Source: https://github.com/nodesource/distributions

We'd like to inform you of important changes to our distribution repository [nodesource/distributions](https://github.com/nodesource/distributions).

What's New:

Package Changes: DEB and RPM packages are now available under the nodistro codename. We no longer package the installer coupled to specific versions. This means you can install Node.js on almost any distro that meets the minimum requirements.
Installation Scripts: The installation scripts setup_XX.x are no longer supported and are not needed anymore, as the installation process is straightforward for any RPM and DEB distro.
Questions and concerns: To resolve questions and discuss concerns about this update we've opened this discussion space [New distribution's packages](https://github.com/nodesource/distributions/discussions/#123456)

Need to fix repos in: https://github.com/geerlingguy/ansible-role-nodejs/blob/master/tasks/setup-Debian.yml and https://github.com/geerlingguy/ansible-role-nodejs/blob/master/tasks/setup-RedHat.yml

Thanks

zane-carter commented 9 months ago

@geerlingguy Are you able to look into this?

neilyoung commented 6 months ago

Ansible script fails to install if system is 20.04 an nodejs_version = "20.x"

geerlingguy commented 6 months ago

Fixed with #155 above