cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/molecule/default/molecule.yml

29 lines
534 B
YAML

---
dependency:
name: galaxy
driver:
name: docker
lint: |
yamllint .
ansible-lint .
platforms:
- name: {{ cookiecutter.app_name }}
groups:
- {{ cookiecutter.app_name }}_group
image: ${MOLECULE_DISTRO:-debian:bullseye-slim}
privileged: false
capabilities:
- SYS_ADMIN
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- '/sys/fs/cgroup:/sys/fs/cgroup:ro'
command: '/lib/systemd/systemd'
stop_signal: 'RTMIN+3'
provisioner:
name: ansible
verifier:
name: ansible