2018-09-28 05:17:50 +02:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
lint:
|
|
|
|
name: yamllint
|
|
|
|
options:
|
|
|
|
config-file: molecule/default/yaml-lint.yml
|
|
|
|
platforms:
|
|
|
|
- name: instance
|
|
|
|
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
|
2018-09-28 06:19:56 +02:00
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- /var/lib/docker
|
2018-09-28 05:17:50 +02:00
|
|
|
privileged: true
|
|
|
|
pre_build_image: true
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
lint:
|
|
|
|
name: ansible-lint
|
|
|
|
playbooks:
|
|
|
|
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
|
|
|
|
scenario:
|
|
|
|
name: default
|
|
|
|
verifier:
|
|
|
|
name: testinfra
|
|
|
|
lint:
|
|
|
|
name: flake8
|