morgangraphics / ansible-role-nvm

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

initial commit #45

Closed morgangraphics closed 9 months ago

morgangraphics commented 9 months ago

As reported by @danfoster and @legau Ansible-core 2.16 removed ansible.builtin.include from ansible-core and replaced it with ansible.builtin.include_tasks. Ansible cannot scope ansible.builtin.include to ignore older versions etc. so I upgraded this role to fully support ansible-core 2.16+ All legacy modules/plugins declarations have been updated to the newer ansible.builtin module/plugin declarations with_items declarations were replaced with loop declarations Error handling was added on symbiotic role variables Uninstall was moved to another file clean_install variable and functionality were added to really remove things if needed Added a task related to the scenario where a LTS version is set explicitly with default: true. Updated README.md file with some fixes and formatting and references