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

35 lines
771 B
YAML
Raw Normal View History

2023-09-29 15:17:33 +02:00
---
2023-09-29 15:50:21 +02:00
dependency:
name: galaxy
options:
ignore-certs: true
ignore-errors: true
role-file: molecule/requirements.yml
requirements-file: molecule/requirements.yml
driver:
name: docker
2023-09-29 15:17:33 +02:00
platforms:
2023-09-29 15:50:21 +02:00
- name: macvlan
groups:
- unifi_group
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible:latest"
privileged: true
pre_build_image: true
capabilities:
- SYS_ADMIN
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- '/sys/fs/cgroup:/sys/fs/cgroup:ro'
- '/var/run/docker.sock:/tmp/docker_mounted.sock'
command: '/lib/systemd/systemd'
stop_signal: 'RTMIN+3'
provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
verifier:
name: ansible