Add role for fd
This commit is contained in:
parent
500b27a473
commit
8635277d75
@ -16,6 +16,7 @@
|
||||
- role: bat
|
||||
- role: curl
|
||||
- role: editline
|
||||
- role: fd
|
||||
- role: fzf
|
||||
- role: gh
|
||||
- role: git
|
||||
|
@ -11,6 +11,7 @@
|
||||
- role: ag
|
||||
- role: bat
|
||||
- role: curl
|
||||
- role: fd
|
||||
- role: fzf
|
||||
- role: gh
|
||||
- role: glab
|
||||
|
26
roles/fd/tasks/main.yaml
Normal file
26
roles/fd/tasks/main.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user