jnv / ansible-role-unattended-upgrades

[DEPRECATED] Setup unattended-upgrades on Debian-based systems
https://github.com/jnv/ansible-role-unattended-upgrades/issues/98
GNU General Public License v2.0
272 stars 94 forks source link

Fix deprecation warning #92

Closed dsegurag closed 2 years ago

dsegurag commented 2 years ago

Use include_tasks instead of include to avoid the deprecation message.

[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.
rickydua commented 2 years ago

Thank you for this

haydenseitz commented 2 years ago

🤦‍♂️ I did not search existing PRs when I made issue #95, this will fix it

misilot commented 2 years ago

40 will also fix this.

dsegurag commented 2 years ago

Hi @jnv, do you have plans to merge this? Thanks.

jnv commented 2 years ago

I am closing this PR since this role has been deprecated. Feel free to suggest alternatives in #98.