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:
parent
e8ccbebd6f
commit
d0a2ba37e8
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue