Dot_Files/tasks/install-zathura.yml

27 lines
652 B
YAML

- name: Install Zathura for ArchLinux
become: true
community.general.pacman:
name: zathura
state: present
when: ansible_facts.os_family == 'Archlinux'
- name: Install Zathura for Debian based systems
become: true
ansible.builtin.apt:
name: zathura
state: present
when: ansible_facts.os_family == 'Debian'
- name: Install Zathura for RedHat based systems
become: true
ansible.builtin.dnf:
name: zathura
state: present
when: ansible_facts.os_family == 'RedHat'
- name: Install Zathura for MacOS
community.general.homebrew:
name: zathura
state: present
when: ansible_facts.distribution == 'MacOSX'