dotfiles/roles/shell/zsh/tasks/install.yml
Matej Focko 0554e665c5
chore: move out user roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:23:02 +02:00

37 lines
809 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" ] and "openSUSE" not in ansible_distribution'