I've been learning Ansible for automatic deployment of NODE-RED and ran into a stumbling block.
The pi zero w (assuming all armv6's) doesn't have an official nodejs rep so one would need to use the
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) install script.
The installation requires elevated privileges however running the script as 'become:true' (and all the --confirm arguments) and has the side effect of installing under /root which is not ideal.
In stead of trying to figure out how to store and pass credentials to a script in Ansible it was a lot easier to fork the linux-installers and add a --nodered-user to the argument list in update-nodejs-and-nodered. see fork
If anyone else knows the proper way to do it I'd love to know. If anyone else finds this addition useful then I'd like to assist in adding a PR for it