fix: use shell instead of command when checking for CLI tools

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-07-04 15:37:37 -04:00
1 parent 315659d196
commit c95911eed4
1 file changed
+2 -1
+2 -1
View File
@@ -1,6 +1,7 @@
---
- name: Check for required CLI tools
ansible.builtin.command: "command -v {{ item }}"
ansible.builtin.shell: |
command -v {{ item }} >/dev/null 2>&1
loop: [age, flux, git, pip3, sops, task]
changed_when: false
check_mode: false