network/molecule/default/molecule.yml
Rich Megginson e109d52e77 use molecule v3, drop v2 - use tox-lsr 2.1.2
Switch to molecule v3.  This drops support for v2.
This requires tox-lsr 2 or later.
Upgrade to tox-lsr 2.1.2 to pick up fix for collection dependency
on python six.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2021-02-10 15:26:04 -06:00

39 lines
880 B
YAML

# SPDX-License-Identifier: MIT
---
dependency:
name: galaxy
driver:
name: ${LSR_MOLECULE_DRIVER:-docker}
platforms:
- name: centos-6
image: registry.centos.org/centos:6
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
command: /sbin/init
- name: centos-7
image: registry.centos.org/centos/systemd:latest
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
command: /usr/lib/systemd/systemd --system
- name: centos-8
image: registry.centos.org/centos:8
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
command: /usr/lib/systemd/systemd --system
provisioner:
name: ansible
log: true
playbooks:
converge: ../../tests/tests_default.yml
scenario:
name: default
test_sequence:
- destroy
- create
- converge
- idempotence
- check
- destroy