Skip to content

Conversation

marcobellaccini
Copy link

@marcobellaccini marcobellaccini commented Jan 15, 2019

  • 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 Don't rewrite volatile sentinel config file #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)

@adborden
Copy link
Contributor

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?

shell: /bin/false
system: yes
when: user_exists|failed
state: present
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a risk here of setting the shell to /bin/false of a login user, if for any reason redis_user is set to anything else but redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants