Closed samuelpismel closed 4 months ago
First, thank you for taking the time to submit a pull request. I appreciate the effort. However, your pull request isn't up to snuff with how the role works. You essentially blow away all the other shell options by forcing everything to use bash.
I have been working on a new version of the role which handles pipefail as well as other various improvements here https://github.com/morgangraphics/ansible-role-nvm/pull/49/files. My version handles pipefail for shells that support it and ignores it for those that don't. It is currently in testing and should be ready for release shortly.
The NVM install script requires bash to run successfully. If you try to use another shell like zsh, you will get this error message:
This pull request fulfills this requirement.