add molecule testing against centos:7

This commit is contained in:
2022-08-05 09:38:26 +07:00
parent ee125e0a85
commit 066d6daa6a
5 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
---
dependency:
name: galaxy
driver:
name: docker
lint: |
yamllint .
ansible-lint
platforms:
- name: centos_7
image: 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: docker
provisioner:
name: ansible
verifier:
name: ansible
scenario:
name: default
test_sequence:
- lint
- destroy
# - dependency
- syntax
- create
# - prepare
- converge
- idempotence
# - side_effect
- verify
- destroy