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
This commit is contained in:
boeto 2022-06-29 04:11:34 +08:00 committed by GitHub
parent e8ccbebd6f
commit d0a2ba37e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: 11. Now you can include kubespray tasks in you existent playbooks by including cluster.yml file:
```yml ```yml
- name: Include kubespray tasks - name: Import kubespray playbook
include: 3d/kubespray/cluster.yml ansible.builtin.import_playbook: 3d/kubespray/cluster.yml
``` ```
Or your could copy separate tasks from cluster.yml into your ansible repository. Or your could copy separate tasks from cluster.yml into your ansible repository.