From 6f49dc8c85d8757a235e6ea9a60ee6db5adb30f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Fri, 9 Sep 2022 10:42:28 +0200 Subject: [PATCH] [pagure] Don't use conflicting topic permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pagure.{{ env_suffix }} user is currently used for both pagure and dist-git, which makes io.pagure.* and org.fedoraproject.* topics to conflict with each other. This will set the permissions for both in one place. Signed-off-by: Michal Konečný --- playbooks/groups/pkgs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/groups/pkgs.yml b/playbooks/groups/pkgs.yml index d8071fe020..56e4a05d66 100644 --- a/playbooks/groups/pkgs.yml +++ b/playbooks/groups/pkgs.yml @@ -82,7 +82,7 @@ # Set up for fedora-messaging - role: rabbit/user username: "pagure{{ env_suffix }}" - sent_topics: ^org\.fedoraproject\.{{ env_short }}\.(pagure|git|logger)\..* + sent_topics: ^(io\.pagure\.{{ env_short }}|org\.fedoraproject\.{{ env_short }}\.(pagure|git|logger))\..* handlers: - import_tasks: "{{ handlers_path }}/restart_services.yml"