Add role for fd
This commit is contained in:
parent
500b27a473
commit
8635277d75
@ -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
|
||||||
|
@ -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
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