2023-04-28 00:32:36 +02:00
|
|
|
---
|
|
|
|
dependency:
|
2023-04-29 20:48:33 +02:00
|
|
|
name: "galaxy"
|
2023-04-28 00:32:36 +02:00
|
|
|
options:
|
|
|
|
ignore-certs: true
|
|
|
|
ignore-errors: true
|
2023-04-29 20:48:33 +02:00
|
|
|
role-file: "molecule/requirements.yml"
|
|
|
|
requirements-file: "molecule/requirements.yml"
|
2023-04-28 00:32:36 +02:00
|
|
|
driver:
|
2023-04-29 20:48:33 +02:00
|
|
|
name: "docker"
|
2023-04-28 00:32:36 +02:00
|
|
|
lint: |
|
|
|
|
yamllint .
|
|
|
|
ansible-lint .
|
|
|
|
platforms:
|
2023-04-29 20:48:33 +02:00
|
|
|
- name: "sonarqube"
|
2023-04-28 00:32:36 +02:00
|
|
|
groups:
|
2023-04-29 20:48:33 +02:00
|
|
|
- "sonarqube_group"
|
2023-04-28 00:32:36 +02:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: true
|
|
|
|
capabilities:
|
2023-04-29 20:48:33 +02:00
|
|
|
- "SYS_ADMIN"
|
2023-04-28 00:32:36 +02:00
|
|
|
tmpfs:
|
2023-04-29 20:48:33 +02:00
|
|
|
- "/tmp"
|
|
|
|
- "/run"
|
|
|
|
- "/run/lock"
|
2023-04-28 00:32:36 +02:00
|
|
|
volumes:
|
|
|
|
- '/sys/fs/cgroup:/sys/fs/cgroup:ro'
|
|
|
|
- '/var/run/docker.sock:/tmp/docker_mounted.sock'
|
|
|
|
command: '/lib/systemd/systemd'
|
|
|
|
stop_signal: 'RTMIN+3'
|
|
|
|
provisioner:
|
2023-04-29 20:48:33 +02:00
|
|
|
name: "ansible"
|
2023-04-28 00:32:36 +02:00
|
|
|
playbooks:
|
2023-04-29 20:48:33 +02:00
|
|
|
converge: "${MOLECULE_PLAYBOOK:-converge.yml}"
|
2023-04-28 00:32:36 +02:00
|
|
|
verifier:
|
2023-04-29 20:48:33 +02:00
|
|
|
name: "ansible"
|