diff --git a/roles/user/editors/vscode/tasks/main.yml b/roles/user/editors/vscode/tasks/main.yml index d6b7912..14e7ad5 100644 --- a/roles/user/editors/vscode/tasks/main.yml +++ b/roles/user/editors/vscode/tasks/main.yml @@ -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