From 34cd28f82dcf6d87871c69351ebca8105879d9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 9 May 2023 12:21:51 +0200 Subject: [PATCH] Workaround a bug in the rabbitmq_user ansible module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://github.com/ansible-collections/community.rabbitmq/issues/156 Signed-off-by: Aurélien Bompard --- playbooks/openshift-apps/fmn.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/openshift-apps/fmn.yml b/playbooks/openshift-apps/fmn.yml index 0a5b321aab..bf0872b0b7 100644 --- a/playbooks/openshift-apps/fmn.yml +++ b/playbooks/openshift-apps/fmn.yml @@ -70,6 +70,12 @@ configure_priv: .* read_priv: .* write_priv: .* + # We have to repeat the topic permissions here until this is fixed: + # https://github.com/ansible-collections/community.rabbitmq/issues/156 + topic_permissions: + - vhost: /pubsub + read_priv: .* + write_priv: ^org\.fedoraproject\.{{ env_short }}\.fmn\..* tags: - config - fedora-messaging