Fix output path of testing results 85/42185/2
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 18 Sep 2017 06:10:07 +0000 (14:10 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 18 Sep 2017 06:14:54 +0000 (14:14 +0800)
Change-Id: I2a30dd39bb847868c8869904c8b28d2bf7d784e5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
resources/ansible_roles/ceph-info/tasks/network.yml
resources/ansible_roles/qtip-generator/files/storage/run.yml

index d5319c5..4ec7b56 100644 (file)
 
 - fetch:
     src: /etc/ceph/ceph.conf
-    dest: "{{ qtip_results }}/sysinfo-{{ inventory_hostname }}/"
+    dest: "{{ output }}/"
     flat: yes
 
 - name: collect ceph system info from ceph.conf
-  set_fact: {"{{ item }}":"{{ lookup('ini', '{{ item }} section=global default='' file={{ qtip_results }}/sysinfo-{{ inventory_hostname }}/ceph.conf')  }}"}
+  set_fact: {"{{ item }}":"{{ lookup('ini', '{{ item }} section=global default='' file={{ output }}/ceph.conf')  }}"}
   with_items:
       - cluster_network
   delegate_to: localhost
index 1ddf0b5..ee605f1 100644 (file)
@@ -13,7 +13,7 @@
 
   roles:
     - { role: qtip, tasks: setup-local, tags: [setup] }
-    - { role: storperf, output: "{% raw %}{{ qtip_results }}{% endraw %}/storperf" }
+    - { role: storperf, output: "{% raw %}{{ qtip_results }}{% endraw %}/current/storperf" }
 
 - hosts: SUT
   roles: