Files
ansible-automations/roles/nvm/tasks/check_installed.yml

15 lines
628 B
YAML
Raw Normal View History

# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 06-04-2023
# @description : This will check if nvm is installed as the latest version.
# ===================================================================================================
---
- name: Check nvm version
shell: nvm --version
register: nvm_version
ignore_errors: true