geerlingguy / ansible-role-ntp

Ansible Role - NTP
https://galaxy.ansible.com/geerlingguy/ntp/
MIT License
319 stars 243 forks source link

include: deprecated #44

Closed strarsis closed 6 years ago

strarsis commented 6 years ago

@geerlingguy:

[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or
'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details
 page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.

https://github.com/geerlingguy/ansible-role-ntp/blob/6a15884e9a6e05a9616b4c802251ffa3b1bc4d45/tasks/main.yml#L16

geerlingguy commented 6 years ago

Fixed via https://github.com/geerlingguy/ansible-role-ntp/commit/2ef6d3fc5e0d927fc4ce8d163ca93cbbc774472f