Files
toallab-automation/roles/linux-system-roles.network/molecule/default/molecule.yml
2021-04-20 12:14:42 -04:00

40 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