dotfiles/playbooks/roles/vscode/tasks/main.yml

21 lines
552 B
YAML
Raw Normal View History

---
- 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