2020-10-11 15:09:15 +02:00
|
|
|
---
|
2020-10-11 20:24:43 +02:00
|
|
|
- name: Create directories for VSCode
|
|
|
|
block:
|
|
|
|
- shell: mkdir -p ~/.local/bin
|
|
|
|
- shell: mkdir -p ~/.local/share
|
2020-10-12 22:10:13 +02:00
|
|
|
- shell: mkdir -p ~/.config/Code\ -\ Insiders/User
|
2020-10-11 20:24:43 +02:00
|
|
|
|
2020-10-11 15:09:15 +02:00
|
|
|
- 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
|
2020-10-11 20:24:43 +02:00
|
|
|
dest: ~/.local/share/visual-studio-code-insiders-url-handler.desktop
|
2020-10-12 22:10:13 +02:00
|
|
|
|
|
|
|
- name: Install VSCode configuration
|
|
|
|
template:
|
|
|
|
src: templates/{{ item }}.json.j2
|
|
|
|
dest: ~/.config/Code\ -\ Insiders/User/{{ item }}.json
|
|
|
|
loop:
|
|
|
|
- settings
|
|
|
|
- keybindings
|