diff options
Diffstat (limited to 'qtip/driver/playbook/unixbench/dhrystone.yaml')
-rw-r--r-- | qtip/driver/playbook/unixbench/dhrystone.yaml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/qtip/driver/playbook/unixbench/dhrystone.yaml b/qtip/driver/playbook/unixbench/dhrystone.yaml index 431814dd..caa97f44 100644 --- a/qtip/driver/playbook/unixbench/dhrystone.yaml +++ b/qtip/driver/playbook/unixbench/dhrystone.yaml @@ -7,21 +7,31 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +- name: Make dhrystone directories + file: + path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/dhrystone/' + state: directory + +- include: ../inxi.yaml + vars: + dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/dhrystone/' + +- include: ../top.yaml + vars: + dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/dhrystone/' + - name: Run dhrystone shell: ./Run -v dhrystone args: chdir: '{{ ansible_env.HOME }}/tempT/UnixBench/' - name: Copying result and system info to qtip result directory - shell: '{{ item }}' - with_items: - - mv ~/tempT/UnixBench/results/* ./ - - cp ~/qtip_result/inxi.log ~/qtip_result/top.log ./ + shell: mv ~/tempT/UnixBench/results/* ./ args: - chdir: '{{ ansible_env.HOME }}/qtip_result/{{ timestamp }}/{{ ansible_hostname }}' + chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/dhrystone/' - name: Fetch dhrystone result files to local manchine synchronize: mode: pull src: '{{ ansible_env.HOME }}/qtip_result/' - dest: '{{ result_dir }}/dhrystone/logs/' + dest: '{{ result_dir }}/' |