30 lines
694 B
YAML
30 lines
694 B
YAML
|
---
|
||
|
role_name_check: 1
|
||
|
dependency:
|
||
|
name: galaxy
|
||
|
options:
|
||
|
ignore-certs: true
|
||
|
ignore-errors: true
|
||
|
role-file: molecule/requirements.yml
|
||
|
requirements-file: molecule/requirements.yml
|
||
|
driver:
|
||
|
name: docker
|
||
|
platforms:
|
||
|
- name: instance-geoip
|
||
|
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
|
||
|
provisioner:
|
||
|
name: ansible
|
||
|
playbooks:
|
||
|
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|
||
|
verifier:
|
||
|
name: ansible
|
||
|
lint: |
|
||
|
set -e
|
||
|
yamllint .
|
||
|
ansible-lint .
|