2020-04-27 14:47:40 +00:00
|
|
|
---
|
2024-02-01 13:33:04 +00:00
|
|
|
- name: "podman-remote | install"
|
|
|
|
dnf: name="podman-remote" state=installed
|
|
|
|
when: podman_bin == "podman-remote"
|
|
|
|
|
2020-04-27 14:47:40 +00:00
|
|
|
- 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.
|
2024-02-01 13:33:04 +00:00
|
|
|
- name: "{{ podman_bin }} root"
|
2020-04-27 14:47:40 +00:00
|
|
|
package: podman
|
|
|
|
environment:
|
2024-02-01 13:33:04 +00:00
|
|
|
PODMAN: /usr/bin/{{ podman_bin }}
|
2023-02-02 11:54:35 +00:00
|
|
|
QUADLET: /usr/libexec/podman/quadlet
|
2024-02-01 13:33:04 +00:00
|
|
|
- name: "{{ podman_bin }} rootless"
|
2020-04-27 14:47:40 +00:00
|
|
|
package: podman
|
|
|
|
environment:
|
2024-02-01 13:33:04 +00:00
|
|
|
PODMAN: /usr/bin/{{ podman_bin }}
|
2023-02-02 11:54:35 +00:00
|
|
|
QUADLET: /usr/libexec/podman/quadlet
|
2020-04-27 14:47:40 +00:00
|
|
|
become: true
|