ansible-redis icon indicating copy to clipboard operation
ansible-redis copied to clipboard

Role idempotency, fixed deprecations, flush_handlers warning, updated checksums

Open marcobellaccini opened this issue 6 years ago • 1 comments

  • Fixed some deprecations (with_items, using tests as filters)

  • Updated checksums

  • Idempotent implementation for log file creation tasks (avoid using touch)

  • Idempotent implementation for config file tasks (make Ansible check for configuration changes in a reference configuration file instead of the real one - which is dynamically rewritten by redis). This is similar to https://github.com/DavidWittman/ansible-redis/pull/172 .

  • Removed flush_handlers: it was used with when conditionals but resulted in this warning:

    [WARNING]: flush_handlers task does not support when conditional

    Implemented another workaround to prevent services from starting and then re-starting.

  • Changed minimum Ansible version to 2.5.0 (older versions are incompatible with loop - and with_items is deprecated)

marcobellaccini avatar Jan 15 '19 13:01 marcobellaccini

Hello, I'm interested in seeing this merged. It's been here for over a year. Is there anyway I can help move this along?

adborden avatar Jan 28 '20 23:01 adborden