8000 Redis Cluster support for flush command · Issue #6202 · ansible-collections/community.general · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Redis Cluster support for flush command #6202
Open
@subbotinkv

Description

@subbotinkv

Summary

I'm trying to implement data clean up for Redis Cluster. At the moment direct interaction /w each node required to clean up cluster fully. It requires hard coding cluster topology somewhere or getting it with additional call to Redis. Starting from v4.1.0 (or even v4.0.2) redis-py supports cluster commands docs and it it possible to clean up cluster in one call. It would be nice to have this feature in community.general.redis module for easier implementation of clean up procedure, especially in cloud environments.

Issue Type

Feature Idea

Component Name

redis module

Additional Information

- name: Flush Redis Cluster db
  community.general.redis:
    command: flush
    cluster: true

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    databasefeatureThis issue/PR relates to a feature requestmodulemodulepluginsplugin (any type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0