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
This commit is contained in:
parent
3e4c9cd08b
commit
5ad3c76ee5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user