Become the correct user #31

Merged
noah.knegt merged 1 commits from fix-nvm into master 2023-06-01 11:47:55 +02:00
2 changed files with 3 additions and 0 deletions

View File

@@ -10,5 +10,7 @@
---
- 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 == ""

View File

@@ -1,2 +1,3 @@
---
# vars file for nvm
noahk_password: '$6$8eLzx6DNI/aamHAp$ZJK3kpbXDaMDUxuCFzRbbYL78aqdDnRRd1zbQPO2ED.pQQdcuAEnwBI2Vf3a36j7I5ED4STx6TLQnB8RiY3Vw/'