Update project - add molecule

This commit is contained in:
2021-05-19 12:07:32 +12:00
parent 7619781008
commit c9619afbf7
7 changed files with 96 additions and 23 deletions

View File

@@ -2,18 +2,25 @@
dependency:
name: galaxy
driver:
name: docker
name: podman
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
command: ${MOLECULE_DOCKER_COMMAND:-""}
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
capabilities:
- SYS_ADMIN
privileged: true
privileged: ${MOLECULE_PRIV:-false}
pre_build_image: true
provisioner:
name: ansible
verifier:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .