You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python2 goes end-of-life January 2020. Distro vendors have been scrambling to upgrade to Python3 and this appears to include the recent Ansible 2.8.0 release. A previously-functioning project using ansible-logrotate now fails because Python3 does not implement iteritems.
Python2 goes end-of-life January 2020. Distro vendors have been scrambling to upgrade to Python3 and this appears to include the recent Ansible 2.8.0 release. A previously-functioning project using ansible-logrotate now fails because Python3 does not implement iteritems.
Change required - file logrotate/templates/logrotate.d.j2
FROM:
{%- for name, script in item.scripts.iteritems() -%}
TO:
{%- for name, script in item.scripts.items() | list -%}
The text was updated successfully, but these errors were encountered: