linux-config/roles/tmux_user/tasks/main.yml
Sagi Dayan c3784e0a65
Tmux fix: plugins are not symlinked but installed.
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-03-28 10:58:58 +02:00

28 lines
575 B
YAML

- name: Install tmux
become: true
package:
name: tmux
state: present
- name: Verifying tmux config folder
file:
path: ~/.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
owner: "{{ 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