Become the correct user
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-06-01 11:47:01 +02:00
parent ba76cd4235
commit 909037d5a0
2 changed files with 3 additions and 0 deletions

View File

@@ -10,5 +10,7 @@
--- ---
- name: Install nvm - name: Install nvm
shell: /tmp/nvm-install.sh shell: /tmp/nvm-install.sh
become: true
become_user: noahk become_user: noahk
become_pass: "{{ noahk_password }}"
when: nvm_version.stdout != nvm_latest_version.stdout or nvm_version.stdout == "" when: nvm_version.stdout != nvm_latest_version.stdout or nvm_version.stdout == ""

View File

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