32 lines
802 B
YAML
32 lines
802 B
YAML
---
|
|
- name: Create directories for VSCode
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
loop:
|
|
- ~/.local/bin
|
|
- ~/.local/share
|
|
- "$HOME/.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
|