diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-12-06 15:36:27 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2018-01-09 15:54:49 +0800 |
commit | a9130ff7b0593a2e4d6fe3c84d44892b1c0a3340 (patch) | |
tree | a603bf5f7e983e56797432d3b77cf16c9be9906e /resources/ansible_roles/ceph-info/tasks/main.yml | |
parent | 0436f87ff05b0835e1ed75ee2955f5097e572224 (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/ceph-info/tasks/main.yml')
-rw-r--r-- | resources/ansible_roles/ceph-info/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |