Improve TRAMP performance with SSH ControlMaster and persistent sockets

This commit is contained in:
Fabio Scotto di Santolo
2026-04-16 19:05:25 +02:00
parent f953141200
commit 5065c02930
5 changed files with 34 additions and 0 deletions

View File

@@ -234,6 +234,10 @@ desktop_common_dotfiles:
src: .local/bin/udiskie-password
dest: .local/bin/udiskie-password
mode: "0755"
- name: SSH config
src: .ssh/config
dest: .ssh/config
mode: "0600"
desktop_i3_dotfiles:
- name: i3 config

View File

@@ -16,6 +16,15 @@
loop: "{{ xdg_user_directories | default([]) }}"
when: "'void' in group_names"
- name: Ensure SSH socket directory exists
tags: [dotfiles, dotfiles:common]
ansible.builtin.file:
path: "{{ effective_user_home }}/.local/state/ssh/sockets"
state: directory
owner: "{{ effective_username }}"
group: "{{ effective_user_group }}"
mode: "0700"
- name: Copy common dotfiles
tags: [dotfiles, dotfiles:common]
ansible.builtin.copy: