ansible-role-nodejs icon indicating copy to clipboard operation
ansible-role-nodejs copied to clipboard

Add architecture support for NodeSource repository and update documentation

Open llbbl opened this issue 6 months ago • 3 comments

Hey Jeff, I had some problems with this repo on Ubuntu 24 Noble. It couldn't determine the architecture and it was trying to download Node from i386, which doesn't exist on the Nodesource side of things. So I added some stuff to fix that and detect the correct architecture. It's working now for me on my home lab.

  • Updated .gitignore to exclude IDE and OS-specific files.
  • Enhanced README.md with new nodejs_architecture variable for specifying NodeSource repository architecture.
  • Modified defaults/main.yml to include nodejs_architecture with a description.
  • Updated setup-Debian.yml to set architecture for NodeSource repository based on user input or auto-detection from ansible_architecture.

llbbl avatar Jun 02 '25 16:06 llbbl

https://github.com/nodesource/distributions?tab=readme-ov-file#ubuntu-versions

Looking at the distributions, they provide builds for 32-bit ARM but not x86.

llbbl avatar Jun 02 '25 16:06 llbbl

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] avatar Oct 04 '25 16:10 github-actions[bot]

this is still a problem that needs to be addressed 🐸

llbbl avatar Oct 06 '25 19:10 llbbl