summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-11 09:33:38 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-11 19:53:14 +0800
commit73209ab003bb9e29cda6b40a8ac50cabf57a242e (patch)
treecd0ac75d31e5aca9577faef50dfcaaa4307a044b
parent940b64dfbb9992c77d1c888719d5b30a212e8f4f (diff)
Fix reporting tasks
- no need to specify `local_action` on `local` hosts - no need to delegate to `localhost` on `local` hosts Change-Id: I9e7843ce8ba414a786784943b8c253d615271233 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r--tests/integration/compute.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/integration/compute.yaml b/tests/integration/compute.yaml
index 1f5ec8dd..87553fd7 100644
--- a/tests/integration/compute.yaml
+++ b/tests/integration/compute.yaml
@@ -78,8 +78,7 @@
- hosts: local
tasks:
- name: create system information report
- local_action: template src=templates/system-info.j2 dest=reports/system-info
- delegate_to: localhost
- # TODO(yujunz) push test result to testapi
+ template: src=templates/system-info.j2 dest=reports/system-info
- name: create qpi report
template: src=templates/qpi-report.j2 dest=reports/qpi-report
+ # TODO(yujunz) push test result to testapi