Files
Dmitriy Rabotyagov a61ddd22c5 Symlink the role into tests
Ansible Core 2.19 has a different set of default paths to look for roles
so molecule test is failing now.

Let's create a symlink of the role into the tests repo for the test
playbook to find content of the role easily.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/979136
Change-Id: Iad52e7191d23d3f6d02cec260cb85c0bc4a894b4
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2026-03-06 13:22:13 +00:00

79 lines
2.0 KiB
YAML

---
dependency:
name: galaxy
options:
requirements-file: requirements.yml
driver:
name: docker
platforms:
- name: rabbitmq01
groups:
- rabbitmq_all
image: "${DOCKER_REGISTRY:-quay.io/gotmax23}/${DOCKER_IMAGE_TAG:-debian-systemd:trixie}"
command: ${DOCKER_COMMAND:-""}
privileged: true
pre_build_image: true
docker_networks:
- name: "rabbitmq"
ipam_config:
- subnet: "10.1.0.0/24"
networks:
- name: "rabbitmq"
ipv4_address: "10.1.0.2"
- name: rabbitmq02
groups:
- rabbitmq_all
image: "${DOCKER_REGISTRY:-quay.io/gotmax23}/${DOCKER_IMAGE_TAG:-debian-systemd:trixie}"
command: ${DOCKER_COMMAND:-""}
privileged: true
pre_build_image: true
docker_networks:
- name: "rabbitmq"
ipam_config:
- subnet: "10.1.0.0/24"
networks:
- name: "rabbitmq"
ipv4_address: "10.1.0.3"
- name: rabbitmq03
groups:
- rabbitmq_all
image: "${DOCKER_REGISTRY:-quay.io/gotmax23}/${DOCKER_IMAGE_TAG:-debian-systemd:trixie}"
command: ${DOCKER_COMMAND:-""}
privileged: true
pre_build_image: true
docker_networks:
- name: "rabbitmq"
ipam_config:
- subnet: "10.1.0.0/24"
networks:
- name: "rabbitmq"
ipv4_address: "10.1.0.4"
provisioner:
name: ansible
inventory:
group_vars:
rabbitmq_all:
rabbitmq_apply_openstack_policies: true
rabbitmq_cookie_token: secrete
rabbitmq_manage_hosts_entries: false
rabbitmq_pki_dir: /tmp/pki/rabbitmq-ca
host_vars:
rabbitmq01:
rabbitmq_node_address: 10.1.0.2
rabbitmq02:
rabbitmq_node_address: 10.1.0.3
rabbitmq03:
rabbitmq_node_address: 10.1.0.4
lint:
name: ansible-lint
playbooks:
prepare: ../../tests/prepare.yml
converge: ../../tests/test.yml
verify: ../../tests/test-rabbitmq-functional.yml
cleanup: ../../tests/cleanup.yml
config_options:
defaults:
inject_facts_as_vars: false
scenario:
name: default