2021-10-22 11:45:20 +00:00
|
|
|
- name: Install tmux
|
|
|
|
become: true
|
|
|
|
package:
|
|
|
|
name: tmux
|
2022-01-18 09:19:19 +00:00
|
|
|
state: present
|
2021-10-22 11:45:20 +00:00
|
|
|
|
2024-03-28 08:55:44 +00:00
|
|
|
- name: Verifying tmux config folder
|
2024-03-27 12:09:11 +00:00
|
|
|
file:
|
2024-03-28 08:55:44 +00:00
|
|
|
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
|
2024-03-27 12:09:11 +00:00
|
|
|
state: link
|
|
|
|
owner: "{{ ansible_user_id }}"
|
|
|
|
group: "{{ ansible_user_id }}"
|
2024-03-28 08:55:44 +00:00
|
|
|
|
|
|
|
- name: Install tmux plugin manager
|
|
|
|
git:
|
|
|
|
repo: https://github.com/tmux-plugins/tpm
|
|
|
|
dest: ~/.config/tmux/plugins/tpm
|
|
|
|
update: yes
|
|
|
|
version: master
|
|
|
|
|