Skip to content

Instantly share code, notes, and snippets.

@jk
Created March 10, 2025 14:20
Show Gist options
  • Save jk/58bee799c0ba96fb88bde7e8efe957a4 to your computer and use it in GitHub Desktop.
Save jk/58bee799c0ba96fb88bde7e8efe957a4 to your computer and use it in GitHub Desktop.
- name: Konfiguriere VS Code Einstellungen
hosts: localhost
tasks:
- name: Sicherstellen, dass der VS Code User-Ordner existiert
file:
path: "{{ ansible_env.HOME }}/Library/Application Support/Code/User"
state: directory
mode: "0755"
- name: Kopiere settings.json
copy:
src: files/settings.json
dest: "{{ ansible_env.HOME }}/Library/Application Support/Code/User/settings.json"
mode: "0644"
- name: Kopiere keybindings.json
copy:
src: files/keybindings.json
dest: "{{ ansible_env.HOME }}/Library/Application Support/Code/User/keybindings.json"
mode: "0644"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment