From 41f520fff47e3364823ccf06cbcd56b29c41829c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 7 Mar 2019 12:49:55 +0100 Subject: [PATCH] resultsdb: create the resultsdb's rabbitmq user Signed-off-by: Pierre-Yves Chibon --- playbooks/groups/resultsdb.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/groups/resultsdb.yml b/playbooks/groups/resultsdb.yml index a1754b62ef..82da951b3d 100644 --- a/playbooks/groups/resultsdb.yml +++ b/playbooks/groups/resultsdb.yml @@ -32,6 +32,10 @@ - { role: fedmsg/base, when: deployment_type != "dev" } - { role: dnf-automatic, tags: ['dnfautomatic'] } + # Set up for fedora-messaging + - { role: rabbit/user, + username: "resultsdb{{ env_suffix }}", + when: deployment_type == "stg" } tasks: # this is how you include other task lists