kerneltest: create rabbitmq user

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-03-18 18:16:26 +10:00
parent c65dfb1d4a
commit 4862565d67
2 changed files with 6 additions and 1 deletions

View file

@ -33,7 +33,12 @@
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
roles:
- role: rabbit/user
username: "kerneltest{{ env_suffix }}"
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.kerneltest\..*
- role: openshift/project
app: kerneltest
description: kerneltest

View file

@ -1,4 +1,4 @@
amqp_url = "amqps://kerneltest:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
amqp_url = "amqps://kerneltest{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
# Just check if the queue exist, don't try to create it (the server does not allow it).
passive_declares = true