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

29 lines
532 B
YAML
Raw Normal View History

2020-04-28 13:23:10 +02:00
---
dependency:
name: galaxy
driver:
name: docker
lint: |
yamllint .
ansible-lint .
platforms:
- name: {{ cookiecutter.app_name }}
groups:
- {{ cookiecutter.app_name }}_group
image: ${MOLECULE_DISTRO:-debian:buster-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