2023-08-27 11:43:02 +02:00
|
|
|
---
|
2024-12-22 20:29:09 +01:00
|
|
|
- name: Install VSCode
|
|
|
|
ansible.builtin.include_tasks: "install_{{ ansible_distribution }}.yml"
|
|
|
|
tags: install
|
|
|
|
|
2023-08-27 11:43:02 +02:00
|
|
|
- name: Create directories for VSCode
|
|
|
|
ansible.builtin.file:
|
2024-12-22 20:29:09 +01:00
|
|
|
path: "$HOME/.config/Code - Insiders/User"
|
2023-08-27 11:43:02 +02:00
|
|
|
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
|