Deploy WSL Emacs config to Windows home

This commit is contained in:
Fabio Scotto di Santolo
2026-08-20 15:46:28 +02:00
parent 474f0082bb
commit 51ba397c6a
3 changed files with 41 additions and 3 deletions

View File

@@ -34,7 +34,9 @@
group: "{{ effective_user_group }}"
mode: "0755"
loop: "{{ emacs_authoring_directories | default([]) }}"
when: emacs_enabled | default(false) | bool
when:
- emacs_enabled | default(false) | bool
- not (workstation_is_wsl | default(false) | bool)
- name: Deploy the shared Emacs authoring configuration
tags: [dotfiles, dotfiles:common, emacs]
@@ -47,7 +49,9 @@
loop: "{{ emacs_dotfiles | default([]) }}"
loop_control:
label: "{{ item.dest }}"
when: emacs_enabled | default(false) | bool
when:
- emacs_enabled | default(false) | bool
- not (workstation_is_wsl | default(false) | bool)
- name: Deploy Emacs authoring assets
tags: [dotfiles, dotfiles:common, emacs]
@@ -60,7 +64,9 @@
loop: "{{ emacs_authoring_files | default([]) }}"
loop_control:
label: "{{ item.dest }}"
when: emacs_enabled | default(false) | bool
when:
- emacs_enabled | default(false) | bool
- not (workstation_is_wsl | default(false) | bool)
- name: Ensure SSH socket directory exists
tags: [dotfiles, dotfiles:common]