Add ripgrep role
This commit is contained in:
parent
19d0ac491b
commit
500b27a473
@ -24,6 +24,7 @@
|
|||||||
- role: jp
|
- role: jp
|
||||||
- role: jq
|
- role: jq
|
||||||
- role: readline
|
- role: readline
|
||||||
|
- role: ripgrep
|
||||||
- role: tidy
|
- role: tidy
|
||||||
- role: tree
|
- role: tree
|
||||||
- role: watch
|
- role: watch
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
- role: gh
|
- role: gh
|
||||||
- role: glab
|
- role: glab
|
||||||
- role: jq
|
- role: jq
|
||||||
|
- role: ripgrep
|
||||||
- role: tree
|
- role: tree
|
||||||
- role: yq
|
- role: yq
|
||||||
|
|
||||||
|
26
roles/ripgrep/tasks/main.yaml
Normal file
26
roles/ripgrep/tasks/main.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
- name: install apt package
|
||||||
|
when: ansible_os_family == 'Debian'
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: ripgrep
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: install dnf package
|
||||||
|
when: ansible_os_family == 'RedHat'
|
||||||
|
become: true
|
||||||
|
dnf:
|
||||||
|
name: ripgrep
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: install Homebrew package
|
||||||
|
when: ansible_os_family == 'Darwin'
|
||||||
|
homebrew:
|
||||||
|
name: ripgrep
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: install Chocolatey package
|
||||||
|
when: ansible_os_family == 'Windows'
|
||||||
|
win_chocolatey:
|
||||||
|
name: ripgrep
|
||||||
|
state: latest
|
Loading…
x
Reference in New Issue
Block a user