Skip to content

Commit 20cb31e

Browse files
authored
Merge pull request #491 from mbaldessari/prereqs
Check for prereqs for IIB
2 parents 84f7434 + 109027c commit 20cb31e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ansible/roles/iib_ci/tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
failed_when:
55
(iib_image is not defined or iib_image | length == 0)
66

7+
- name: Check for pre-requisite binaries presence
8+
ansible.builtin.shell: |
9+
which "{{ item }}"
10+
with_items:
11+
- skopeo
12+
- oc
13+
- podman
14+
715
- name: Set IIB fact
816
ansible.builtin.set_fact:
917
iib: "{{ iib_image.split(':')[1] }}"

0 commit comments

Comments
 (0)