mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-12-25 19:11:29 +01:00
29 lines
532 B
YAML
29 lines
532 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: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
|