summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
diff options
context:
space:
mode:
authorStepan Andrushko <stepanx.andrushko@intel.com>2018-10-18 21:16:09 +0300
committerEmma Foley <emma.l.foley@intel.com>2018-10-31 19:04:21 +0000
commit5eef74f3bca008b62923563654668da3cd699e4e (patch)
tree2499efd47754e1588d79739428274c03a892fe5c /ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
parent1d7841d21af77492674bebf5675d6f33017baf9f (diff)
Trex KPI are not collected due to rabbitmq user
Changed the way rabbitmq-server user is created. Fix is needed to collect KPIs from Trex. JIRA: YARDSTICK-1479 Change-Id: I6142109563fcdb27e0ec554dd08567a1a43237e7 (cherry picked from commit d06e6da19db545dfcc6fdfdc706b9cccdb75c498) formerly: I54369535fdb7af6af76de30f758227736f83db78 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2')
-rw-r--r--ansible/roles/configure_rabbitmq/templates/user_definitions.json.j223
1 files changed, 23 insertions, 0 deletions
diff --git a/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2 b/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
new file mode 100644
index 000000000..831675ff1
--- /dev/null
+++ b/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
@@ -0,0 +1,23 @@
+ {
+ "users": [{
+ "name": "yardstick",
+ "password_hash": "{{ }}",
+ "hashing_algorithm": "rabbit_password_hashing_sha256",
+ "tags": ""
+ }],
+ "vhosts": [{
+ "name": "/"
+ }],
+ "permissions": [{
+ "user": "yardstick",
+ "vhost": "/",
+ "configure": ".*",
+ "write": ".*",
+ "read": ".*"
+ }],
+ "parameters": [],
+ "policies": [],
+ "queues": [],
+ "exchanges": [],
+ "bindings": []
+}