network/molecule/default/molecule.yml
Till Maas d32f4e5a7b molecule/tox: Support yamllint without molecule
With molecule v3, the linter config needs to be changed. To prepare for
this, run yamllint with tox as molecule would do it for V3.
2020-03-24 13:55:27 +01:00

39 lines
700 B
YAML

# SPDX-License-Identifier: MIT
---
dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
options:
config-file: .yamllint.yml
platforms:
- name: centos-6
image: docker.io/linuxsystemroles/centos-6
privileged: true
- name: centos-7
image: docker.io/linuxsystemroles/centos-7
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
provisioner:
name: ansible
log: true
lint:
name: ansible-lint
playbooks:
converge: ../../tests/tests_default.yml
scenario:
name: default
test_sequence:
- destroy
- create
- converge
- idempotence
- check
- destroy
verifier:
name: testinfra
lint:
name: flake8