[pagure] Don't use conflicting topic permissions

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ý <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2022-09-09 10:42:28 +02:00 committed by zlopez
parent 1e5d0a07f4
commit 6f49dc8c85

View file

@ -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"