Add role for jq on Debina, macOS, and Windows

This commit is contained in:
Kenneth Benzie 2022-10-28 18:56:01 +01:00
parent bd4e5f1941
commit 55cc3441be
4 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
- name: install homebrew package
homebrew:
name: jq
state: latest

View File

@ -0,0 +1,5 @@
---
- name: install apt package
apt:
name: jq
state: latest

View File

@ -0,0 +1,5 @@
---
- name: install chocolatey package
win_chocolatey:
name: jq
state: latest

2
roles/jq/tasks/main.yaml Normal file
View File

@ -0,0 +1,2 @@
---
- include_tasks: '{{ansible_os_family}}.yaml'