setup-cockpit/roles/tmux/tasks/main.yml

20 lines
355 B
YAML

---
- name: Install tmux (Archlinux)
become: true
pacman:
name:
- tmux
when: ansible_facts['distribution'] == 'Archlinux'
- name: Install tmux (Debian)
become: true
apt:
name:
- tmux
when: ansible_facts['distribution'] == 'Debian'
- name: Copy tmux config
copy:
src: tmux.conf
dest: ~/.tmux.conf
mode: 0644