Batcave: add support for fedora-messaging

Install the certificates needed to connect to fedora-messaging
Install a configuration file applications can use to send messages
to the message bus using fedora-messaging.
Create the batcave user in rabbitmq

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon
2020-05-15 14:50:04 +02:00
committed by pingou
parent 0290f57cfb
commit a21b274209
3 changed files with 72 additions and 0 deletions

View File

@@ -38,6 +38,9 @@
- role: rabbit/user
username: "mirror_pagure_ansible{{ env_suffix }}"
when: datacenter != 'iad2'
- role: rabbit/user
username: "batcave{{ env_suffix }}"
when: datacenter != 'iad2'
- role: rabbit/queue
username: "mirror_pagure_ansible{{ env_suffix }}"
queue_name: "mirror_pagure_ansible{{ env_suffix }}"