From d0a2ba37e82ac1575c20551cca5a414f6b53d416 Mon Sep 17 00:00:00 2001 From: boeto <34640489+boeto@users.noreply.github.com> Date: Wed, 29 Jun 2022 04:11:34 +0800 Subject: [PATCH] update deprecated syntax (#9040) * `ansible.builtin.include` removed in version 2.16 Read the `ansible.builtin.include DEPRECATED` doc: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/include_module.html#deprecated * Update integration.md --- docs/integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integration.md b/docs/integration.md index 967ddf345..c6da719ea 100644 --- a/docs/integration.md +++ b/docs/integration.md @@ -76,8 +76,8 @@ You could rename *all.yml* config to something else, i.e. *kubespray.yml* and cr 11. Now you can include kubespray tasks in you existent playbooks by including cluster.yml file: ```yml - - name: Include kubespray tasks - include: 3d/kubespray/cluster.yml + - name: Import kubespray playbook + ansible.builtin.import_playbook: 3d/kubespray/cluster.yml ``` Or your could copy separate tasks from cluster.yml into your ansible repository.