22 lines
632 B
YAML
22 lines
632 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
driver:
|
|
options:
|
|
managed: false
|
|
login_cmd_template: "docker exec -it {instance} bash"
|
|
ansible_connection_options:
|
|
ansible_connection: docker
|
|
platforms:
|
|
- name: instance
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux9}-ansible:latest"
|
|
command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
cgroupns_mode: host
|
|
privileged: true
|
|
pre_build_image: true
|
|
# you might want to add your own variables here based on what provisioning
|
|
# you are doing like:
|
|
# image: quay.io/centos/centos:stream8
|