Ansible_workstation/roles/user/tasks/tmux.yml

21 lines
444 B
YAML

---
- name: Install tmux
community.general.pacman:
name: tmux
state: present
when: ansible_os_family == "Archlinux"
- name: Install tmux
apt:
name: tmux
state: present
when: ansible_os_family == "Debian"
- name: Install tpm
ansible.builtin.git:
repo: "https://github.com/tmux-plugins/tpm"
dest: "/home/{{ user.username }}/.tmux/plugins/tpm"
depth: 1
become: true
become_user: "{{ user.username }}"