dotfiles/roles/editor_vscode/tasks/main.yml

20 lines
471 B
YAML
Raw Normal View History

---
- 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