Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPRECATED]: ansible.builtin.include has been removed #153

Closed
waza-ari opened this issue Dec 18, 2023 · 2 comments
Closed

[DEPRECATED]: ansible.builtin.include has been removed #153

waza-ari opened this issue Dec 18, 2023 · 2 comments

Comments

@waza-ari
Copy link

This role's main.yml file uses ansible.builtin.include statements, which have been deprecated and removed in version 2.16. Trying this with a recent ansible version yields

ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.

Simply replacing include with include_tasks works perfectly fine.

@shaunbugler
Copy link

Duplicates #152

@waza-ari
Copy link
Author

My bad, only searched through the issues, didn't check PRs for fixes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants