add new molecule scenario, add tox config

This commit is contained in:
2022-08-08 10:20:43 +07:00
parent abfd096abe
commit a90af00f5a
7 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
---
dependency:
name: galaxy
driver:
name: podman
platforms:
- name: centos_7
image: docker.io/library/centos:7
privileged: true
command: /usr/sbin/init
capabilities:
- SYS_ADMIN
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
env:
ANSIBLE_USER: ansible
SUDO_GROUP: wheel
DEPLOY_GROUP: deployer
container: podman
provisioner:
name: ansible
verifier:
name: ansible
scenario:
name: podman
test_sequence:
- lint
- destroy
- create
- converge
- verify
- destroy