From a9130ff7b0593a2e4d6fe3c84d44892b1c0a3340 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Wed, 6 Dec 2017 15:36:27 +0800 Subject: 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 --- resources/ansible_roles/opnfv-testapi/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/ansible_roles/opnfv-testapi') 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" -- cgit 1.2.3-korg