Tmux fix: plugins are not symlinked but installed.

Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
This commit is contained in:
Sagi Dayan 2024-03-28 10:55:44 +02:00
parent 9c0888c1f1
commit c3784e0a65
Signed by: sagi
GPG key ID: FAB96BFC63B46458

View file

@ -4,10 +4,24 @@
name: tmux name: tmux
state: present state: present
- name: Linking up tmux config folder - name: Verifying tmux config folder
file: file:
src: "{{ playbook_dir }}/files/dotfiles/tmux" path: ~/.config/tmux
dest: ~/.config/tmux state: directory
mode: '0755'
- name: Linking up tmux config
file:
src: "{{ playbook_dir }}/files/dotfiles/tmux/tmux.conf"
dest: ~/.config/tmux/tmux.conf
state: link state: link
owner: "{{ ansible_user_id }}" owner: "{{ ansible_user_id }}"
group: "{{ ansible_user_id }}" group: "{{ ansible_user_id }}"
- name: Install tmux plugin manager
git:
repo: https://github.com/tmux-plugins/tpm
dest: ~/.config/tmux/plugins/tpm
update: yes
version: master