d55c8d8f5a
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/podman.git#3f2f50cda9c6dd6e86824f7b944944c20946fd6f
20 lines
572 B
YAML
20 lines
572 B
YAML
---
|
|
# Requires: 'want_cgroups' variable set to 1 or 2
|
|
- include_role:
|
|
name: set_cgroups
|
|
- 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 root cgroupsv{{ want_cgroups }}
|
|
package: podman
|
|
environment:
|
|
PODMAN: /usr/bin/podman
|
|
- name: podman rootless cgroupsv{{ want_cgroups }}
|
|
package: podman
|
|
environment:
|
|
PODMAN: /usr/bin/podman
|
|
become: true
|