Files
ansible-automations/roles/nvm/tasks/install.yml
Noah Knegt ecaa1b6249
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Fix the nvm steps
Signed-off-by: Noah Knegt <git@noahknegt.com>
2023-04-06 10:41:10 +02:00

16 lines
690 B
YAML

# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 06-04-2023
# @description : This will install nvm as the latest version.
# ===================================================================================================
---
- name: Install nvm
shell: /tmp/nvm-install.sh
args:
creates: /home/noahk/.nvm
when: nvm_version.stdout != nvm_latest_version.stdout or nvm_version.stdout == ""