Files
ansible-automations/roles/nvm/tasks/install.yml
Noah Knegt 909037d5a0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Become the correct user
Signed-off-by: Noah Knegt <git@noahknegt.com>
2023-06-01 11:47:01 +02:00

17 lines
726 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
become: true
become_user: noahk
become_pass: "{{ noahk_password }}"
when: nvm_version.stdout != nvm_latest_version.stdout or nvm_version.stdout == ""