Browse Source

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
pull/9007/head
boeto 2 years ago
committed by GitHub
parent
commit
d0a2ba37e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. 4
      docs/integration.md

4
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.

Loading…
Cancel
Save