dotfiles/playbooks/roles/vscode/tasks/main.yml
Matej Focko 937c3f6263
Fix VSCode installation
Closes #7

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-11 20:24:43 +02:00

20 lines
552 B
YAML

---
- name: Create directories for VSCode
block:
- shell: mkdir -p ~/.local/bin
- shell: mkdir -p ~/.local/share
- name: Install VSCode script
template:
src: templates/update.sh.j2
dest: ~/.local/bin/code-update.sh
- name: Create app info for VSCode
template:
src: templates/code.desktop.j2
dest: ~/.local/share/visual-studio-code-insiders.desktop
- name: Create app info for VSCode URL handler
template:
src: templates/code-url.desktop.j2
dest: ~/.local/share/visual-studio-code-insiders-url-handler.desktop