azavea / ansible-java

An Ansible role for installing Java.
Apache License 2.0
4 stars 14 forks source link

Remove deprecated use of include in playbooks #33

Closed hectcastro closed 6 years ago

hectcastro commented 6 years ago

The following deprecation warning is being produced by Ansible 2.4:

[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.