29 lines
799 B
YAML
29 lines
799 B
YAML
---
|
|
- name: Create directories for VSCode
|
|
block:
|
|
- shell: mkdir -p ~/.local/bin
|
|
- shell: mkdir -p ~/.local/share
|
|
- shell: mkdir -p "~/.config/Code\ -\ Insiders/User"
|
|
|
|
- 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
|
|
|
|
- name: Install VSCode configuration
|
|
template:
|
|
src: templates/{{ item }}.json.j2
|
|
dest: "~/.config/Code\ -\ Insiders/User/{{ item }}.json"
|
|
loop:
|
|
- settings
|
|
- keybindings
|