morgangraphics / ansible-role-nvm

Installs NVM & Node.js on Debian/Ubuntu and RHEL/CentOS
MIT License
99 stars 29 forks source link

Custom nvm_dir does not work in protected directories like /opt/nvm out of the box #27

Open morgangraphics opened 4 years ago

morgangraphics commented 4 years ago

As described in #26 there is a bug where declaring a custom nvm directory location does not work properly out of the box. This is a permissions issues related to the user running the playbook and associations with group(s) or being added to the sudoers file. A temporary workaround is to assign the directory to the specific user until we address things properly with #26.