When using this role I get the following deprecation warning:
[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.
Did you expect to see some different?
No deprecation warnings.
How to reproduce it (as minimally and precisely as possible):
What happened?
When using this role I get the following deprecation warning:
Did you expect to see some different?
No deprecation warnings.
How to reproduce it (as minimally and precisely as possible):
Use this playbook:
Environment
4.0.0
none
none, the warning is displayed before anything else is done by the playbook.
Anything else we need to know?:
The relevant code seems to be here: