2018-09-29 21:41:26 +02:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
lint:
|
|
|
|
name: yamllint
|
|
|
|
options:
|
|
|
|
config-file: molecule/default/yaml-lint.yml
|
|
|
|
platforms:
|
|
|
|
- name: instance
|
2018-10-23 17:31:40 +02:00
|
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
|
|
volumes:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
2018-09-29 21:41:26 +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
|