fix: use shell instead of command when checking for CLI tools
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check for required CLI tools
|
- 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]
|
loop: [age, flux, git, pip3, sops, task]
|
||||||
changed_when: false
|
changed_when: false
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|||||||
Reference in new issue
Block a user