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

[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead #55

Closed
andygrunwald opened this issue Sep 18, 2022 · 0 comments · Fixed by #56
Closed

Comments

@andygrunwald
Copy link
Contributor

When using the module, a deprecation warning is thrown during execution:

[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.

Environment

ansible [core 2.13.4]
  config file = None
  configured module search path = ['/path/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/6.4.0/libexec/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/andy.grunwald/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.10.6 (main, Aug 30 2022, 04:58:14) [Clang 13.1.6 (clang-1316.0.21.2.5)]
  jinja version = 3.1.2
  libyaml = True
@andygrunwald andygrunwald changed the title DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead Sep 18, 2022
mhutter added a commit that referenced this issue Sep 19, 2022
Fix #55: [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead
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

Successfully merging a pull request may close this issue.

1 participant