2022-08-23 10:45:57 +02:00
|
|
|
---
|
2022-08-24 11:28:01 +02:00
|
|
|
role_name_check: 1
|
2022-08-23 10:45:57 +02:00
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
platforms:
|
|
|
|
- name: instance
|
2022-08-24 11:28:01 +02:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock
|
|
|
|
privileged: true
|
2022-08-23 10:45:57 +02:00
|
|
|
pre_build_image: true
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
2022-08-24 11:28:01 +02:00
|
|
|
playbooks:
|
|
|
|
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|
2022-08-23 10:45:57 +02:00
|
|
|
verifier:
|
|
|
|
name: ansible
|
2022-08-24 11:28:01 +02:00
|
|
|
lint: |
|
|
|
|
set -e
|
|
|
|
yamllint .
|
|
|
|
ansible-lint .
|