dotfiles/roles/editor_vscode/tasks/main.yml
2024-12-22 20:34:52 +01:00

19 lines
471 B
YAML

---
- name: Install VSCode
ansible.builtin.include_tasks: "install_{{ ansible_distribution }}.yml"
tags: install
- name: Create directories for VSCode
ansible.builtin.file:
path: "$HOME/.config/Code - Insiders/User"
state: directory
mode: 0740
- name: Install VSCode configuration
ansible.builtin.copy:
src: files/{{ item }}.json
dest: "~/.config/Code - Insiders/User/{{ item }}.json"
mode: 0640
loop:
- settings
- keybindings