- name: Install tmux pacman: name: "tmux" state: present when: - ansible_os_family == "Archlinux" - name: Install tmux apt: name: "tmux" state: present when: - ansible_os_family == "Debian" - name: Copy config file copy: src: tmux/tmux.conf dest: /etc/tmux.conf mode: "0644"