aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-18 14:10:07 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-19 01:55:20 +0000
commitff8ce9160d03f468a09aea220afb7ad5a5af3b58 (patch)
tree5d9ce622cd4fa69389949d06ec41720a861bda1d
parent25086394f9ebd7bd90698ea54734f27ee9d4517e (diff)
Fix output path of testing results
Change-Id: I2a30dd39bb847868c8869904c8b28d2bf7d784e5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit b80f7070c5455025a1fd4a67af2f0b6246a39140)
-rw-r--r--resources/ansible_roles/ceph-info/tasks/network.yml4
-rw-r--r--resources/ansible_roles/qtip-generator/files/storage/run.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/ansible_roles/ceph-info/tasks/network.yml b/resources/ansible_roles/ceph-info/tasks/network.yml
index d5319c55..4ec7b562 100644
--- a/resources/ansible_roles/ceph-info/tasks/network.yml
+++ b/resources/ansible_roles/ceph-info/tasks/network.yml
@@ -20,11 +20,11 @@
- 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
diff --git a/resources/ansible_roles/qtip-generator/files/storage/run.yml b/resources/ansible_roles/qtip-generator/files/storage/run.yml
index 1ddf0b59..ee605f11 100644
--- a/resources/ansible_roles/qtip-generator/files/storage/run.yml
+++ b/resources/ansible_roles/qtip-generator/files/storage/run.yml
@@ -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: