mrlesmithjr / ansible-avahi

Enter description of Ansible role
MIT License
1 stars 1 forks source link

Deprecation warning #1

Closed sprat closed 4 years ago

sprat commented 4 years ago

Using ansible 2.9.6, I got this warning:

[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: "{{ item }}"`, please use `name: '{{ avahi_debian_packages }}'` 
and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

It seems like the role should be fixed or it won't work anymore in ansible version 2.11.

mrlesmithjr commented 4 years ago

@sprat Thanks for reporting this. An easy fix but this role needs some love anyways!

sprat commented 4 years ago

Thanks!