feat: add zathura installer

This commit is contained in:
Price Hiller 2022-09-06 03:38:51 -05:00
parent 7bbc8884e4
commit 73d29ef792
2 changed files with 24 additions and 0 deletions

View File

@ -30,6 +30,7 @@
- install-fzf.yml
- install-java.yml
- install-golang.yml
- install-zathura.yml
- name: Install shfmt
ansible.builtin.include_tasks: install-go-package.yml

23
tasks/install-zathura.yml Normal file
View File

@ -0,0 +1,23 @@
- name: Install Zathura for ArchLinux
community.general.pacman:
name: zsh
state: present
when: ansible_facts.os_family == 'Archlinux'
- name: Install Zathura for Debian based systems
ansible.builtin.apt:
name: zathura
state: present
when: ansible_facts.os_family == 'Debian'
- name: Install Zathura for RedHat based systems
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'