From 5ad3c76ee54a91d0808122d9ab960965973e217d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Mon, 2 Jul 2018 14:31:44 +0200 Subject: [PATCH] Allow flexible tag for Rabbit monitoring user Without this patch, the monitoring user is forced to have the tag "monitoring". This is a problem, because some deployers would prefer having another tag. This patch solves the problem by allowing the tag to be a variable, free form, that is defaulting to "monitoring". Change-Id: I77a70842c034fa1f7fe78ff650f37358f0890bbe --- playbooks/rabbitmq-install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/rabbitmq-install.yml b/playbooks/rabbitmq-install.yml index e68fa83441..7d758f6c9b 100644 --- a/playbooks/rabbitmq-install.yml +++ b/playbooks/rabbitmq-install.yml @@ -72,7 +72,7 @@ rabbitmq_user: user: "{{ rabbitmq_monitoring_userid|default('monitoring') }}" password: "{{ rabbitmq_monitoring_password }}" - tags: "monitoring" + tags: "{{ rabbitmq_monitoring_tag | default('monitoring') }}" state: "present" no_log: true when: rabbitmq_monitoring_password is defined