31 lines
661 B
YAML
31 lines
661 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
driver:
|
|
name: docker
|
|
lint:
|
|
name: yamllint
|
|
options:
|
|
config-file: molecule/default/yaml-lint.yml
|
|
enabled: true
|
|
platforms:
|
|
- name: "${ROLE_NAME}-${MOLECULE_DISTRO:-centos7}"
|
|
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
- /var/lib/docker
|
|
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
|