Create RabbitMQ user and queue (#7965)
Attempt to fix: https://pagure.io/fedora-infrastructure/issue/7965 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
9c2cfc100f
commit
ab31f6fcfe
2 changed files with 20 additions and 0 deletions
15
roles/rabbitmq_cluster/tasks/apps.yml
Normal file
15
roles/rabbitmq_cluster/tasks/apps.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# This playbook creates users and queues for specific applications
|
||||
#
|
||||
|
||||
|
||||
# The Testing Farm app
|
||||
# https://pagure.io/fedora-infrastructure/issue/7965
|
||||
- name: Testing Farm app
|
||||
include_role:
|
||||
name: rabbit/queue
|
||||
vars:
|
||||
username: testing-farm{{ env_suffix }}
|
||||
queue_name: testing-farm{{ env_suffix }}
|
||||
#routing_keys:
|
||||
#- "#"
|
|
@ -394,3 +394,8 @@
|
|||
tags:
|
||||
federation-upstream: "pubsub-to-public_pubsub"
|
||||
vhost: /public_pubsub
|
||||
|
||||
- import_tasks: apps.yml
|
||||
tags:
|
||||
- rabbitmq_cluster
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue