2020-10-11 15:09:15 +02:00
|
|
|
---
|
2020-10-11 20:24:43 +02:00
|
|
|
- name: Create directories for VSCode
|
2020-10-17 13:12:22 +02:00
|
|
|
file:
|
2020-10-17 13:41:25 +02:00
|
|
|
path: "{{ item }}"
|
2020-10-17 13:12:22 +02:00
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- ~/.local/bin
|
|
|
|
- ~/.local/share
|
|
|
|
- "$HOME/.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
|
2020-10-13 09:10:39 +02:00
|
|
|
dest: "~/.config/Code - Insiders/User/{{ item }}.json"
|
2020-10-12 22:10:13 +02:00
|
|
|
loop:
|
|
|
|
- settings
|
|
|
|
- keybindings
|