Files
dotfiles/ansible/roles/tmux/tasks/main.yml
T

24 lines
531 B
YAML

---
- name: Install TMUX (terminal multiplexer)
become: true
pacman:
name: tmux
state: latest
- name: Install TPM for the unprivileged user
git:
repo: https://github.com/tmux-plugins/tpm
dest: /$HOME/.tmux/plugins/tpm
update: true
force: true
clone: true
single_branch: true
depth: 1
- name: Setup TMUX for the unprivileged user
copy:
src: tmux/tmux.conf
dest: "/$HOME/.tmux.conf"
- name: Setup TMUX for the root user
copy:
src: tmux/tmux.conf
dest: "/root/.tmux.conf"