From 688380c212d1fc7cceb969a4d150c7764fcdeb77 Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Wed, 20 Jan 2016 17:26:11 +0500 Subject: Resolving bug for result collection For all benchmarks, the final ansible play to consolidate json was failing in docker containers Change-Id: I3611d74b7dbd38eccd46f9dcc982473f96b16157 Signed-off-by: Nauman_Ahad --- benchmarks/playbooks/iperf.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'benchmarks/playbooks/iperf.yaml') diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml index fdf22c94..8f6d9cc2 100644 --- a/benchmarks/playbooks/iperf.yaml +++ b/benchmarks/playbooks/iperf.yaml @@ -111,15 +111,15 @@ rolename: "{{role}}" when: role is defined - name: extracting_json - shell: ( find ../../{{Dest_dir}}/iperf/iperf_temp/ -name "*.json" | xargs cp -t ../../{{Dest_dir}}/iperf/) + shell: (find ../../{{Dest_dir}}/iperf/iperf_temp/ -name "*.json" | xargs cp -t ../../{{Dest_dir}}/iperf/) when: rolename == "2-host" - name: making_logs_folder shell: mkdir -p ../../{{Dest_dir}}/iperf/logs - name: extracting_log - shell: ( find ../../{{Dest_dir}}/iperf/iperf_temp/ -name "*.log" | xargs cp -t ../../{{Dest_dir}}/iperf/logs) + shell: (find ../../{{Dest_dir}}/iperf/iperf_temp/ -name "*.log" | xargs cp -t ../../{{Dest_dir}}/iperf/logs) when: rolename == "2-host" - name: removing iperf_raw file shell: rm -rf ../../{{Dest_dir}}/iperf/iperf_raw.json when: rolename == "2-host" - name: removing iperf_temp - shell: rm -rf ../../{{Dest_dir}}/iperf/iperf_temp \ No newline at end of file + shell: rm -rf ../../{{Dest_dir}}/iperf/iperf_temp -- cgit 1.2.3-korg