dotfiles/playbooks/roles/vscode/tasks/main.yml
Matej Focko bf1cce91fa
Install RPMFusion RPMs and fix warning for VSCode
Closes #18

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-17 13:41:57 +02:00

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