fix(vscode): use absolute path to the script
Needed when using `become: true`, otherwise it defaults to the root's home directory. Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
272700e6e2
commit
d61dcf3c00
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
- name: Install VSCode
|
||||
ansible.builtin.command:
|
||||
cmd: bash ~/.local/bin/code-update.sh
|
||||
cmd: bash /home/{{ target_user }}/.local/bin/code-update.sh
|
||||
creates: /opt/VSCode-linux-x64
|
||||
become: true
|
||||
tags: install
|
||||
|
|
Loading…
Reference in a new issue