dotfiles/roles/shell_zsh/tasks/install.yml
Matej Focko fb94b38a57
feat: add Rocky to possible targets
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-14 14:31:39 +01:00

37 lines
818 B
YAML

---
- name: Install zsh
ansible.builtin.package:
name:
- zsh
- autojump
state: present
become: true
- name: Install eza and bat
ansible.builtin.package:
name:
- eza
- bat
state: present
become: true
- name: Install fzf for fuzzy finding
ansible.builtin.package:
name: fzf
state: present
become: true
- name: Install zoxide for jumping around
ansible.builtin.package:
name: zoxide
state: present
become: true
when: ansible_distribution not in [ "openSUSE Leap" ]
# “yet another dialog” for the functions in zshrc
- name: Install yad for prompts from shell
ansible.builtin.package:
name: yad
state: present
become: true
when: 'ansible_distribution not in [ "AlmaLinux", "Rocky" ] and "openSUSE" not in ansible_distribution'