aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-13 21:52:37 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-16 11:52:29 +0800
commitab72f9c49cabd945d35c946dce4158ea8e228e2a (patch)
tree12a3ea3350db4c761bd90417bff6d900cbb87a7b /resources/ansible_roles
parent426ad7b517f20ff8c77ed69dcd056db7d5278f18 (diff)
Implement sunburst badge for QPI
Change-Id: Iccdec7b0ac223a38c846f73adc6bd0e53db3723b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles')
-rw-r--r--resources/ansible_roles/qtip/tasks/aggregate.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/resources/ansible_roles/qtip/tasks/aggregate.yml b/resources/ansible_roles/qtip/tasks/aggregate.yml
index 9ecdc700..904fc5d6 100644
--- a/resources/ansible_roles/qtip/tasks/aggregate.yml
+++ b/resources/ansible_roles/qtip/tasks/aggregate.yml
@@ -14,5 +14,10 @@
group: compute
basepath: "{{ qtip_results }}/current"
src: "compute.json"
- dest: "{{ pod_name }}-qpi.json"
+ dest: "qpi.json"
register: pod_result
+
+- name: generating HTML report
+ template:
+ src: "{{ qtip_resources }}/template/qpi.html.j2"
+ dest: "{{ qtip_results }}/current/index.html"