ansible-for-devops
ansible-for-devops copied to clipboard
Ch4 nodejs Fixes
Removed Remi Repo tasks from Playbook. The CentOS 7/8 Repo does not contain npm or any of the required RPMs see here. EPEL 7 contains an npm package (3.10.0) but EPEL 8 does not because nodejs 10 and 12 LTS is available in the built-in AppStream repos.
Added version to package.json to fix bug that existed in version 3.3.0-3.3.1 of community.general.npm module. It would fail if a version tag was not available. This was fixed in 3.3.2, but should be there since it's included in the simple npminit values. See commit here
Honestly I don't remember why I had the remi tasks in there...
Hmm. I see the one that failed is getting the same error as I was getting, which is caused by not using 3.3.2+ of community.general.npm
I can't see what role you're applying to download that Galaxy package, but it likely needs updating there first.