mirror of
https://github.com/fscotto/infra.git
synced 2026-07-29 16:20:01 +00:00
Share desktop tmux config with WSL
This commit is contained in:
@@ -28,3 +28,8 @@ workstation_dev_wsl_dotfiles:
|
||||
- src: .tmux.conf
|
||||
dest: .tmux.conf
|
||||
mode: "0644"
|
||||
source_dir: desktop
|
||||
- src: .tmux/bin/
|
||||
dest: .tmux/bin/
|
||||
mode: preserve
|
||||
source_dir: desktop
|
||||
|
||||
@@ -1,8 +1,21 @@
|
||||
---
|
||||
- name: Ensure WSL tmux directories exist
|
||||
tags: [dotfiles, dotfiles:workstation, tmux, wsl]
|
||||
ansible.builtin.file:
|
||||
path: "{{ user_home }}/{{ item }}"
|
||||
state: directory
|
||||
owner: "{{ username }}"
|
||||
group: "{{ user_group }}"
|
||||
mode: "0755"
|
||||
loop:
|
||||
- .tmux
|
||||
- .tmux/bin
|
||||
- .tmux/plugins
|
||||
|
||||
- name: Copy workstation WSL dotfiles
|
||||
tags: [dotfiles, dotfiles:workstation, wsl]
|
||||
ansible.builtin.copy:
|
||||
src: "{{ playbook_dir }}/../dotfiles/workstation_dev_wsl/{{ item.src }}"
|
||||
src: "{{ playbook_dir }}/../dotfiles/{{ item.source_dir | default('workstation_dev_wsl') }}/{{ item.src }}"
|
||||
dest: "{{ user_home }}/{{ item.dest }}"
|
||||
owner: "{{ username }}"
|
||||
group: "{{ user_group }}"
|
||||
|
||||
Reference in New Issue
Block a user