geerlingguy / ansible-role-redis

Ansible Role - Redis
https://galaxy.ansible.com/geerlingguy/redis/
MIT License
255 stars 197 forks source link

Explicitly disable RDB persistence #73

Closed rsanzante closed 1 year ago

rsanzante commented 1 year ago

Doc says:

"# Set to an empty set to disable persistence (saving the DB to disk)."

So, when setting:

redis_save: []

However, this just writes nothing about the Redis "save" settings. If for whatever reason RDB persistence is enabled by default this role won't disable it.

stale[bot] commented 1 year ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

rsanzante commented 1 year ago

This issue is still active. I can provide more info ro work if needed.

stale[bot] commented 1 year ago

This issue is no longer marked for closure.

github-actions[bot] commented 1 year ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 1 year ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

nicovs commented 7 months ago

Just add:

redis_save:
  - '""'
rsanzante commented 7 months ago

Not very intuitive but nice to know, thanks!