Dot_Files/roles/zsh/tasks/install-zsh.yml

28 lines
620 B
YAML
Raw Normal View History

2022-08-01 17:33:33 -05:00
---
- name: Install zsh for MacOSX
community.general.homebrew:
name: zsh
state: present
when: ansible_facts.distribution == 'MacOSX'
- name: Install zsh for Debian based systems
2022-08-02 23:12:29 -05:00
become: true
2022-08-01 17:33:33 -05:00
ansible.builtin.apt:
name: zsh
state: present
when: ansible_facts.os_family == 'Debian'
- name: Install zsh for RedHat based systems
2022-08-02 23:12:29 -05:00
become: true
2022-08-01 17:33:33 -05:00
ansible.builtin.dnf:
name: zsh
state: present
when: ansible_facts.os_family == 'RedHat'
- name: Install zsh for Arch
2022-08-05 15:39:49 -05:00
become: true
2022-08-01 17:33:33 -05:00
community.general.pacman:
name: zsh
state: present
when: ansible_facts.os_family == 'Archlinux'