podman/tests/run_podman_tests.yml

23 lines
681 B
YAML
Raw Normal View History

---
- name: "podman-remote | install"
dnf: name="podman-remote" state=installed
when: podman_bin == "podman-remote"
- include_role:
name: run_bats_tests
vars:
tests:
# Yes, this is horrible duplication, but trying to refactor in ansible
# yields even more horrible unreadable code. This is the lesser evil.
- name: "{{ podman_bin }} root"
package: podman
environment:
PODMAN: /usr/bin/{{ podman_bin }}
QUADLET: /usr/libexec/podman/quadlet
- name: "{{ podman_bin }} rootless"
package: podman
environment:
PODMAN: /usr/bin/{{ podman_bin }}
QUADLET: /usr/libexec/podman/quadlet
become: true