2019-08-14 16:42:55 +02:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
2020-11-12 16:12:04 +01:00
|
|
|
# lint: |
|
|
|
|
# set -e
|
|
|
|
# yamllint .
|
2019-08-14 16:42:55 +02:00
|
|
|
platforms:
|
|
|
|
- name: instance
|
|
|
|
image: 'geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest'
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
privileged: true
|
|
|
|
pre_build_image: true
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
2020-11-12 16:12:04 +01:00
|
|
|
# lint:
|
|
|
|
# name: ansible-lint
|
2019-08-14 16:42:55 +02:00
|
|
|
playbooks:
|
|
|
|
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
|
|
|
|
scenario:
|
|
|
|
name: default
|
|
|
|
verifier:
|
2020-11-12 16:12:04 +01:00
|
|
|
name: ansible
|