summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-11 04:38:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-11 04:38:47 +0000
commit9faf67e7e8d8170c5756b3d87e8ec3dbaff4adcf (patch)
tree1b999885cdffdeeb398cf1ce48a27bf6b19d04ea
parentadccf87a64cba6f7e5acf2ce998a4b04968b53d7 (diff)
parent764c2d3916f1390e2ee2ca3b3efbcc33050fd525 (diff)
Merge "Some modifications for ansible playbook"
-rw-r--r--qtip/driver/playbook/ramspeed/run.yaml2
-rw-r--r--qtip/driver/playbook/unixbench/dhrystone.yaml8
-rw-r--r--qtip/driver/playbook/unixbench/whetstone.yaml8
3 files changed, 13 insertions, 5 deletions
diff --git a/qtip/driver/playbook/ramspeed/run.yaml b/qtip/driver/playbook/ramspeed/run.yaml
index 94becb55..496cd5db 100644
--- a/qtip/driver/playbook/ramspeed/run.yaml
+++ b/qtip/driver/playbook/ramspeed/run.yaml
@@ -31,7 +31,7 @@
- ~/ramspeed/ramsmp-3.5.0/ramsmp -b 3 -l 5 -p 1 >> Intmem
- ~/ramspeed/ramsmp-3.5.0/ramsmp -b 6 -l 5 -p 1 >> Floatmem
args:
- chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/whetstone/'
+ chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/ramspeed/'
- name: Fetch result files to local manchine
synchronize:
diff --git a/qtip/driver/playbook/unixbench/dhrystone.yaml b/qtip/driver/playbook/unixbench/dhrystone.yaml
index caa97f44..a0ee89a3 100644
--- a/qtip/driver/playbook/unixbench/dhrystone.yaml
+++ b/qtip/driver/playbook/unixbench/dhrystone.yaml
@@ -25,8 +25,12 @@
args:
chdir: '{{ ansible_env.HOME }}/tempT/UnixBench/'
-- name: Copying result and system info to qtip result directory
- shell: mv ~/tempT/UnixBench/results/* ./
+- name: Copying result to qtip result directory
+ shell: '{{ item }}'
+ with_items:
+ - mv ~/tempT/UnixBench/results/*.log ./
+ - mv ~/tempT/UnixBench/results/*.html ./
+ - mv ~/tempT/UnixBench/results/* ./dhrystone
args:
chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/dhrystone/'
diff --git a/qtip/driver/playbook/unixbench/whetstone.yaml b/qtip/driver/playbook/unixbench/whetstone.yaml
index 723fb3a6..c753779f 100644
--- a/qtip/driver/playbook/unixbench/whetstone.yaml
+++ b/qtip/driver/playbook/unixbench/whetstone.yaml
@@ -25,8 +25,12 @@
args:
chdir: '{{ ansible_env.HOME }}/tempT/UnixBench/'
-- name: Copying result and system info to qtip result directory
- shell: mv ~/tempT/UnixBench/results/* ./
+- name: Copying result to qtip result directory
+ shell: '{{ item }}'
+ with_items:
+ - mv ~/tempT/UnixBench/results/*.log ./
+ - mv ~/tempT/UnixBench/results/*.html ./
+ - mv ~/tempT/UnixBench/results/* ./whetstone
args:
chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/whetstone/'