aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/opnfv-testapi
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-12-06 15:36:27 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2018-01-09 15:54:49 +0800
commita9130ff7b0593a2e4d6fe3c84d44892b1c0a3340 (patch)
treea603bf5f7e983e56797432d3b77cf16c9be9906e /resources/ansible_roles/opnfv-testapi
parent0436f87ff05b0835e1ed75ee2955f5097e572224 (diff)
use 'import_tasks' and 'include_tasks' instead of 'include'
The use of 'include' for tasks has been deprecated.[1] [1] http://docs.ansible.com/ansible/latest/include_module.html Change-Id: I940f4031b16860e69d2ca92e4fca82c5cc495aef Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/opnfv-testapi')
-rw-r--r--resources/ansible_roles/opnfv-testapi/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/ansible_roles/opnfv-testapi/tasks/main.yml b/resources/ansible_roles/opnfv-testapi/tasks/main.yml
index 270ffb59..334e06f4 100644
--- a/resources/ansible_roles/opnfv-testapi/tasks/main.yml
+++ b/resources/ansible_roles/opnfv-testapi/tasks/main.yml
@@ -9,4 +9,4 @@
---
-- include: "{{ tasks }}.yml"
+- include_tasks: "{{ tasks }}.yml"