diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-11-07 07:39:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-07 07:39:09 +0000 |
commit | c7761e0760aaacb801478308b6774dccb33cbf2e (patch) | |
tree | d6f0580e0713780e5bfbc26314ccbd70ec9c3454 /benchmarks/perftest/fio.yaml | |
parent | 962e1283835838a127767087a09b946327bd23a6 (diff) | |
parent | 71d715b04b2ded20f81bd5c5083fcb2fbce06c1f (diff) |
Merge "Remove results directory out of repos"
Diffstat (limited to 'benchmarks/perftest/fio.yaml')
-rw-r--r-- | benchmarks/perftest/fio.yaml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/perftest/fio.yaml b/benchmarks/perftest/fio.yaml index 23f2b202..c9fd9011 100644 --- a/benchmarks/perftest/fio.yaml +++ b/benchmarks/perftest/fio.yaml @@ -4,10 +4,10 @@ tasks: - name: making fio directory - file: path={{workingdir}}/{{Dest_dir}}/fio state=directory + file: path={{Dest_dir}}/fio state=directory - name: making temporary fio directory - file: path={{workingdir}}/{{Dest_dir}}/fio/fio_temp state=directory + file: path={{Dest_dir}}/fio/fio_temp state=directory - hosts: "{{role}}" @@ -77,7 +77,7 @@ register: files_to_copy - name: copy results - fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{workingdir}}/{{Dest_dir}}/fio/fio_temp + fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{Dest_dir}}/fio/fio_temp with_items: "{{files_to_copy.stdout_lines}}" - name: registering log files @@ -85,7 +85,7 @@ register: copy_log_results - name: copying log results - fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{workingdir}}/{{Dest_dir}}/fio/fio_temp + fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest={{Dest_dir}}/fio/fio_temp with_items: "{{copy_log_results.stdout_lines}}" - name: cleaning fio @@ -100,13 +100,13 @@ tasks: - name: extracting_json - shell: ( find {{workingdir}}/{{Dest_dir}}/fio/fio_temp/ -name "*.json" | xargs cp -t {{workingdir}}/{{Dest_dir}}/fio/) + shell: (find {{Dest_dir}}/fio/fio_temp/ -name "*.json" | xargs cp -t {{Dest_dir}}/fio/) - name: making_logs_folder - file: path={{workingdir}}/{{Dest_dir}}/fio/logs state=directory + file: path={{Dest_dir}}/fio/logs state=directory - name: extracting_log - shell: ( find {{workingdir}}/{{Dest_dir}}/fio/fio_temp/ -name "*.log" | xargs cp -t {{workingdir}}/{{Dest_dir}}/fio/logs) + shell: (find {{Dest_dir}}/fio/fio_temp/ -name "*.log" | xargs cp -t {{Dest_dir}}/fio/logs) - name: removing fio_log - file: path={{workingdir}}/{{Dest_dir}}/fio/fio_temp state=absent + file: path={{Dest_dir}}/fio/fio_temp state=absent |