summaryrefslogtreecommitdiffstats
path: root/benchmarks/perftest/iperf.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/perftest/iperf.yaml')
-rw-r--r--benchmarks/perftest/iperf.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/perftest/iperf.yaml b/benchmarks/perftest/iperf.yaml
index 481a2e3e..46c8d6cf 100644
--- a/benchmarks/perftest/iperf.yaml
+++ b/benchmarks/perftest/iperf.yaml
@@ -40,16 +40,16 @@
register: home_dir
- name: cleaning iperf directory
- file: path=$HOME/iperf state=absent
+ file: path={{home_dir.stdout}}/iperf state=absent
- name: cleaning previous results
- file: path=$HOME/qtip_result state=absent
+ file: path={{home_dir.stdout}}/qtip_result state=absent
- name: making Iperf temporary directory
- file: path=$HOME/iperf state=directory
+ file: path={{home_dir.stdout}}/iperf state=directory
- name: making results temporary directory
- file: path=$HOME/qtip_result state=directory
+ file: path={{home_dir.stdout}}/qtip_result state=directory
- include: ./common/sys_proxy_pbook.yaml
@@ -104,7 +104,7 @@
when: rolename =="2-host" and "{{ip2}}" == ''
- name: copy report formation script
- copy: src={{workdingdir}}/utils/transform/final_report.py dest={{home_dir.stdout}}/qtip_result
+ copy: src={{workingdir}}/utils/transform/final_report.py dest={{home_dir.stdout}}/qtip_result
when: rolename =="2-host" and "{{ip2}}" == ''
- name: consolidating report
@@ -115,7 +115,7 @@
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
register: files_to_copy
when: rolename =="2-host" and "{{ip2}}" == ''
-
+
- name: copy results
fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{workingdir}}/{{Dest_dir}}/iperf/iperf_temp
with_items: "{{files_to_copy.stdout_lines}}"
@@ -132,10 +132,10 @@
when: rolename =="2-host" and "{{ip2}}" == ''
- name: cleaning iperf directory
- file: path=$HOME/iperf state=absent
+ file: path={{home_dir.stdout}}/iperf state=absent
- name: cleaning previous results
- file: path=$HOME/qtip_result state=absent
+ file: path={{home_dir.stdout}}/qtip_result state=absent
- hosts: localhost
connection: local