Workout the nvm install role

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-04-06 10:24:33 +02:00
parent d821693e33
commit f7a7e6f967
6 changed files with 87 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# ===================================================================================================
# ? 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