ansible-role-docker/molecule/default/molecule.yml

22 lines
477 B
YAML
Raw Normal View History

2018-09-27 06:13:32 +03:00
---
role_name_check: 1
2018-09-27 06:13:32 +03:00
dependency:
name: galaxy
options:
ignore-errors: true
2018-09-27 06:13:32 +03:00
driver:
name: docker
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
2018-09-27 06:13:32 +03:00
privileged: true
pre_build_image: true
provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}