feat: add zathura installer
This commit is contained in:
parent
7bbc8884e4
commit
73d29ef792
@ -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
23
tasks/install-zathura.yml
Normal 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'
|
Loading…
Reference in New Issue
Block a user