Add role for jq on Debina, macOS, and Windows
This commit is contained in:
parent
bd4e5f1941
commit
55cc3441be
5
roles/jq/tasks/Darwin.yaml
Normal file
5
roles/jq/tasks/Darwin.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install homebrew package
|
||||||
|
homebrew:
|
||||||
|
name: jq
|
||||||
|
state: latest
|
5
roles/jq/tasks/Debian.yaml
Normal file
5
roles/jq/tasks/Debian.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install apt package
|
||||||
|
apt:
|
||||||
|
name: jq
|
||||||
|
state: latest
|
5
roles/jq/tasks/Windows.yaml
Normal file
5
roles/jq/tasks/Windows.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: install chocolatey package
|
||||||
|
win_chocolatey:
|
||||||
|
name: jq
|
||||||
|
state: latest
|
2
roles/jq/tasks/main.yaml
Normal file
2
roles/jq/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
- include_tasks: '{{ansible_os_family}}.yaml'
|
Loading…
x
Reference in New Issue
Block a user