From 6ce858af4ceda4a39cdfd03c0ca4af4458af7865 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 8 Dec 2020 10:12:48 +0100 Subject: [PATCH] rabbitmq: fix some more the creation of the user and queue for gitlab-centos Signed-off-by: Pierre-Yves Chibon --- roles/rabbitmq_cluster/tasks/apps.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/rabbitmq_cluster/tasks/apps.yml b/roles/rabbitmq_cluster/tasks/apps.yml index 604e045b3a..e5a62d858a 100644 --- a/roles/rabbitmq_cluster/tasks/apps.yml +++ b/roles/rabbitmq_cluster/tasks/apps.yml @@ -103,17 +103,17 @@ include_role: name: rabbit/user vars: - username: gitlab-centos + username: gitlab-centos{{ env_suffix }} - name: CentOS Gitlab Queue run_once: true include_role: name: rabbit/queue vars: - username: gitlab-centos - queue_name: gitlab-centos + username: gitlab-centos{{ env_suffix }} + queue_name: gitlab-centos{{ env_suffix }} # TTL: 10 days (in miliseconds) message_ttl: 864000000 routing_keys: - - "org.centos{{ env_suffix }}.gitlab.#" + - "org.centos.{{ env_short }}.gitlab.#" # CENTOS GITLAB END