67da5bfbb7
- remove all references to cgroups v1. That code never worked, and "cgroups v2" in test names was misleading because it implied an alternative. Remove it. - refactor podman remote and local tests - clean up docs - Ansible bitrot cleanup ("this is deprecated, use that") Tested using 1minutetip but even so this is a big change and we need to be prepared for fallout in the next bodhi. Signed-off-by: Ed Santiago <santiago@redhat.com>
23 lines
681 B
YAML
23 lines
681 B
YAML
---
|
|
- 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
|