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/ceph-info/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/ansible_roles/ceph-info') diff --git a/resources/ansible_roles/ceph-info/tasks/main.yml b/resources/ansible_roles/ceph-info/tasks/main.yml index 04cc859c..cb10b4c1 100644 --- a/resources/ansible_roles/ceph-info/tasks/main.yml +++ b/resources/ansible_roles/ceph-info/tasks/main.yml @@ -9,6 +9,6 @@ --- -- include: cache.yml -- include: disk.yml -- include: network.yml +- import_tasks: cache.yml +- import_tasks: disk.yml +- import_tasks: network.yml -- cgit 1.2.3-korg