Add role for fd

This commit is contained in:
Kenneth Benzie 2024-04-06 13:51:40 +01:00
parent 500b27a473
commit 8635277d75
3 changed files with 28 additions and 0 deletions

View File

@ -16,6 +16,7 @@
- role: bat - role: bat
- role: curl - role: curl
- role: editline - role: editline
- role: fd
- role: fzf - role: fzf
- role: gh - role: gh
- role: git - role: git

View File

@ -11,6 +11,7 @@
- role: ag - role: ag
- role: bat - role: bat
- role: curl - role: curl
- role: fd
- role: fzf - role: fzf
- role: gh - role: gh
- role: glab - role: glab

26
roles/fd/tasks/main.yaml Normal file
View File

@ -0,0 +1,26 @@
---
- name: install apt package
when: ansible_os_family == 'Debian'
become: true
apt:
name: fd-find
state: latest
- name: install dnf package
when: ansible_os_family == 'RedHat'
become: true
dnf:
name: fd-find
state: latest
- name: install Homebrew package
when: ansible_os_family == 'Darwin'
homebrew:
name: fd
state: latest
- name: install Chocolatey package
when: ansible_os_family == 'Windows'
win_chocolatey:
name: fd
state: latest