iuri-gg / ansible-role-yarn

Ansible Role - YARN Package Manager for Ubuntu/RHEL/CentOS https://galaxy.ansible.com/ocha/yarn/
26 stars 13 forks source link

Deprecation warning regarding 'include' #10

Closed bretrzaun closed 10 months ago

bretrzaun commented 6 years ago

Using Ansible 2.4 I'm seeing this deprecation warning: [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.

iuri-gg commented 6 years ago

yes. I think it is just a simple fix to change include with include_tasks. I dont have bandwidth right now to fix it. I will try to get to it next week. if you have a fork with fixed code feel free to submit the PR. CI tests will point out if there is any problem

iuri-gg commented 9 months ago

v1.2.2 is up. Thanks again @bretrzaun