
As effort to sunset tests repo, we replace functional test that were running for the role with a molecule. Due to docker limitations, I had to comment out swap tests, as while it's possible to create a container with swap, I didn't find a way to `swapon` from inside of the container. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/938571 Change-Id: I8e021c76ba1c99d8be52269abd0aeebd05ec4fe7
33 lines
619 B
YAML
33 lines
619 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
options:
|
|
requirements-file: requirements.yml
|
|
force: true
|
|
|
|
driver:
|
|
name: docker
|
|
|
|
platforms:
|
|
- name: "systemd-service-${MOLECULE_SCENARIO_NAME}"
|
|
image: "${DOCKER_REGISTRY:-quay.io/gotmax23}/${DOCKER_IMAGE_TAG:-debian-systemd:bookworm}"
|
|
command: ${DOCKER_COMMAND:-""}
|
|
pre_build_image: true
|
|
privileged: true
|
|
systemd: true
|
|
groups:
|
|
- service_hosts
|
|
|
|
provisioner:
|
|
name: ansible
|
|
lint:
|
|
name: ansible-lint
|
|
playbooks:
|
|
converge: ../../tests/test.yml
|
|
config_options:
|
|
defaults:
|
|
inject_facts_as_vars: false
|
|
|
|
scenario:
|
|
name: default
|