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

30 lines
698 B
YAML
Raw Normal View History

2022-09-19 14:59:05 +02:00
---
role_name_check: 1
2022-09-19 14:59:05 +02:00
dependency:
name: galaxy
options:
ignore-certs: true
ignore-errors: true
role-file: molecule/requirements.yml
requirements-file: molecule/requirements.yml
2022-09-19 14:59:05 +02:00
driver:
name: docker
2022-09-19 14:59:05 +02:00
platforms:
2022-09-22 11:22:20 +02:00
- name: instance-plausible
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /var/run/docker.sock:/tmp/docker_mounted.sock
privileged: true
pre_build_image: true
2022-09-19 14:59:05 +02:00
provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
2022-09-19 14:59:05 +02:00
verifier:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .