aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/ramspeed/tasks
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-25 16:46:51 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-25 16:58:31 +0800
commitd158e53addc56a9f92ecf0947eda4110c23da8ee (patch)
treece0bbffe52abe0b2e0bc91f6cc9638ed1477e413 /resources/ansible_roles/ramspeed/tasks
parent2189e3bfdf1d250fa1201f89249745d4d6aab7f0 (diff)
Organize common tasks under qtip-common role
Change-Id: I8592efdac7e6c2161eb7cb1b36d023697ebe7ad4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/ramspeed/tasks')
-rw-r--r--resources/ansible_roles/ramspeed/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/ansible_roles/ramspeed/tasks/main.yml b/resources/ansible_roles/ramspeed/tasks/main.yml
index affa1111..34b38fa1 100644
--- a/resources/ansible_roles/ramspeed/tasks/main.yml
+++ b/resources/ansible_roles/ramspeed/tasks/main.yml
@@ -45,8 +45,8 @@
- name: generating log filename
set_fact:
- int_logfile: "{{ qtip_results }}/ramsmp-int.log"
- float_logfile: "{{ qtip_results }}/ramsmp-float.log"
+ int_logfile: "{{ output }}/ramsmp-int.log"
+ float_logfile: "{{ output }}/ramsmp-float.log"
- name: saving integer output to log
copy:
@@ -69,7 +69,7 @@
- '^INTEGER\s+BatchRun\s+Add:\s+?(?P<add>\d+\.\d+)\sMB/s$'
- '^INTEGER\s+BatchRun\s+Triad:\s+?(?P<triad>\d+\.\d+)\sMB/s$'
- '^INTEGER\s+BatchRun\s+AVERAGE:\s+?(?P<average>\d+\.\d+)\sMB/s$'
- export_to: "{{ qtip_results }}/ram_int_metrics.json"
+ dest: "{{ output }}/integer-metrics.json"
register: intmem_metrics
- name: collect float memory metrics from ramspeed
@@ -81,11 +81,11 @@
- '^FL-POINT\s+BatchRun\s+Add:\s+?(?P<add>\d+\.\d+)\sMB/s$'
- '^FL-POINT\s+BatchRun\s+Triad:\s+?(?P<triad>\d+\.\d+)\sMB/s$'
- '^FL-POINT\s+BatchRun\s+AVERAGE:\s+?(?P<average>\d+\.\d+)\sMB/s$'
- export_to: "{{ qtip_results }}/ram_float_metrics.json"
+ dest: "{{ output }}/float-metrics.json"
register: floatmem_metrics
- name: create memory metrics report
template:
src: "memory-metrics.j2"
- dest: "{{ qtip_results }}/memory-metrics"
+ dest: "{{ output }}/report"
delegate_to: localhost