dotfiles/roles/user/shell/zsh/tasks/install.yml
Matej Focko 1a481b7686
fix: improve SUSE detection
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-01 21:56:44 +02:00

23 lines
560 B
YAML

---
- name: Install zsh
ansible.builtin.package:
name:
- zsh
- autojump
state: present
become: true
- name: Install fzf for fuzzy finding
ansible.builtin.package:
name: fzf
state: present
become: true
when: ansible_distribution not in [ "AlmaLinux" ]
# “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" ] and "openSUSE" not in ansible_distribution'