2020-12-07 16:20:05 +00:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
|
|
|
tags: classic
|
|
|
|
vars:
|
|
|
|
- artifacts: ./artifacts
|
|
|
|
roles:
|
|
|
|
- role: bats_installed
|
|
|
|
- role: nonroot_user
|
|
|
|
- role: run_bats_tests
|
|
|
|
tests:
|
|
|
|
- name: podman root
|
|
|
|
package: podman
|
|
|
|
environment:
|
|
|
|
PODMAN: /usr/bin/podman
|
|
|
|
|
|
|
|
- name: podman nonroot
|
|
|
|
package: podman
|
|
|
|
environment:
|
|
|
|
PODMAN: /usr/bin/podman
|
|
|
|
become: true
|
|
|
|
|
|
|
|
#- name: podman-remote root
|
|
|
|
#package: podman
|
|
|
|
#environment:
|
|
|
|
# PODMAN: /usr/bin/podman-remote
|
|
|
|
|
|
|
|
- name: buildah root
|
|
|
|
package: buildah
|
|
|
|
environment:
|
|
|
|
BUILDAH_BINARY: /usr/bin/buildah
|
|
|
|
IMGTYPE_BINARY: /usr/bin/buildah-imgtype
|
|
|
|
|
|
|
|
- name: skopeo root
|
|
|
|
package: skopeo
|
|
|
|
environment:
|
|
|
|
SKOPEO_BINARY: /usr/bin/skopeo
|