2018-11-13 13:28:26 +00:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
2019-07-19 08:33:28 +00:00
|
|
|
roles:
|
|
|
|
- role: standard-test-basic
|
|
|
|
tags:
|
|
|
|
- classic
|
|
|
|
- container
|
|
|
|
required_packages:
|
|
|
|
- bats
|
|
|
|
- podman
|
|
|
|
- podman-tests
|
|
|
|
tests:
|
|
|
|
- root-test:
|
|
|
|
dir: ./
|
|
|
|
run: ./test_podman.sh
|
2019-08-02 06:43:40 +00:00
|
|
|
timeout: 15m
|
2019-07-19 08:33:28 +00:00
|
|
|
- rootless-test:
|
|
|
|
# running the test with su doesn't create the directory for fedora user on /run/user/
|
|
|
|
# so create it manually
|
|
|
|
dir: ./
|
2019-08-26 15:27:53 +00:00
|
|
|
run: modprobe tun;mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora
|
2019-08-02 06:43:40 +00:00
|
|
|
timeout: 15m
|