ansible-role-docker/molecule/default/molecule.yml

30 lines
594 B
YAML
Raw Normal View History

2018-09-27 05:13:32 +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:15:28 +02:00
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest":latest
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2018-09-27 05:13:32 +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