Deprecation warning about `include`
michaelbaisch opened this issue · comments
More or less duplicated this issue from ansible-prometheus
What happened?
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):
Use this playbook:
- hosts: all
roles: [cloudalchemy.grafana]
Environment
-
Role version:
0.18.0 -
Variables:
none -
Ansible playbook execution Logs:
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:
ansible-grafana/tasks/main.yml
Line 17 in f9b0432
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still important. (un-stale)