cloudalchemy / ansible-grafana

Platform for analytics and monitoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

- include: preflight.yml

commented

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)

#288 (comment)