homeserver/roles/geerlingguy.ansible/molecule/default/molecule.yml

20 lines
438 B
YAML
Raw Normal View History

2021-02-13 14:20:18 +01:00
---
role_name_check: 1
2021-02-13 14:20:18 +01:00
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
2021-02-13 14:20:18 +01:00
privileged: true
pre_build_image: true
provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}