Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Use import_tasks instead of include to incorporate generate_server_certs.yml and generate_client_certs.yml#6

Open
rija wants to merge 2 commits intoansible:masterfrom
rija:master
Open

Use import_tasks instead of include to incorporate generate_server_certs.yml and generate_client_certs.yml#6
rija wants to merge 2 commits intoansible:masterfrom
rija:master

Conversation

@rija
Copy link

@rija rija commented Oct 6, 2023

It fixes issue #5 whereby deprecation warning is thrown when using this role with Ansible 2.15+ because it uses the deprecated include: keyword.
include_tasks would have worked too, but import_tasks is static and allow usage of tags attached to play.

rija added 2 commits October 3, 2023 10:37
include is deprecated, and will be removed with ansible 2.16, so I've replaced it with include_tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant