Skip to content

Commit afa26e0

Browse files
committed
Bugfix: install sonobuoy executable in playbook
Signed-off-by: Matthias Büchse <[email protected]>
1 parent 6ed50e1 commit afa26e0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

playbooks/pre_cloud.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@
1717
requirements: "Tests/kaas/requirements.txt"
1818
when: kaas | bool
1919

20+
- name: Create local binary dir
21+
ansible.builtin.file:
22+
path: "~/.local/bin"
23+
state: directory
24+
recurse: true
25+
26+
- name: Install Sonobuoy
27+
ansible.builtin.shell:
28+
curl -L https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.3/sonobuoy_0.57.3_linux_amd64.tar.gz | tar xz sonobuoy
29+
args:
30+
chdir: "~/.local/bin/"
31+
creates: sonobuoy
32+
when: kaas | bool
33+
2034
- name: Create cloud config dir
2135
ansible.builtin.file:
2236
path: "~/.config/openstack"

0 commit comments

Comments
 (0)