toolbox/tests/roles/bats_installed/tasks/main.yml
Debarshi Ray 912e112bb1 Update Bats
Ever since Toolbx 0.0.99.4, at least Bats 1.5.0 has been required [1],
with even newer Bats versions containing important bug fixes.

Fallout from 6d8f4e2a69

[1] Upstream commit 978bb524e45549b3
    https://github.com/containers/toolbox/commit/978bb524e45549b3
    https://github.com/containers/toolbox/pull/1081

Resolves: RHEL-61578
2024-10-07 00:25:49 +02:00

13 lines
308 B
YAML

---
# Sigh; RHEL8 doesn't have BATS
- name: bats | fetch and unpack tarball
unarchive:
src: https://github.com/bats-core/bats-core/archive/refs/tags/v1.10.0.tar.gz
dest: /root
remote_src: true
- name: bats | install
command: ./install.sh /usr/local
args:
chdir: /root/bats-core-1.10.0