Fix reporting tasks 17/33217/2
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 11 Apr 2017 01:33:38 +0000 (09:33 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 11 Apr 2017 11:53:14 +0000 (19:53 +0800)
- 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>
tests/integration/compute.yaml

index 1f5ec8d..87553fd 100644 (file)
@@ -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