Set the correct become vars
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -12,5 +12,8 @@
|
||||
shell: /tmp/nvm-install.sh
|
||||
become: true
|
||||
become_user: noahk
|
||||
become_pass: "{{ noahk_password }}"
|
||||
become_method: su
|
||||
become_flags: '--login'
|
||||
vars:
|
||||
ansible_become_pass: "{{ noahk_password }}"
|
||||
when: nvm_version.stdout != nvm_latest_version.stdout or nvm_version.stdout == ""
|
||||
|
Reference in New Issue
Block a user