Skip to content

Commit

Permalink
fix: this I did
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Jan 18, 2024
1 parent 867fa95 commit 21caa0f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bootstrap/tasks/validation/cli.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
- name: Check if required CLI tools are present
ansible.builtin.shell: |
command -v {{ item }} >/dev/null 2>&1
ansible.builtin.shell: command -v {{ item }} >/dev/null 2>&1
loop: ["age", "cloudflared", "flux", "sops", "jq", "kubeconform", "kustomize"]
changed_when: false
check_mode: false
Expand All @@ -10,8 +9,7 @@

- name: Check if required CLI tools are present for k0s
when: bootstrap_distribution == "k0s"
ansible.builtin.shell: |
command -v {{ item }} >/dev/null 2>&1
ansible.builtin.shell: command -v {{ item }} >/dev/null 2>&1
loop: ["k0sctl"]
changed_when: false
check_mode: false
Expand All @@ -20,8 +18,7 @@

- name: Check if required CLI tools are present for talos
when: bootstrap_distribution == "talos"
ansible.builtin.shell: |
command -v {{ item }} >/dev/null 2>&1
ansible.builtin.shell: command -v {{ item }} >/dev/null 2>&1
loop: ["talhelper", "talosctl"]
changed_when: false
check_mode: false
Expand Down

0 comments on commit 21caa0f

Please sign in to comment.