This is a backport of PR #8464 as merged into main (800bc0111277770bff3b26ff527431d57dadb8ff).
SUMMARY
Adds support for getting cluster information. It does not use, redis-py's cluster_info() because I couldn't get it to work when the cluster is yet to be configured. Hence the execute_command which works in that case.
It's optional and can be invoked with adding cluster: true to the task:
- name: Get server cluster information
community.general.redis_info:
cluster: true
register: result
And returns the additionnal data in the cluster_info variable alongside info.
This is a backport of PR #8464 as merged into main (800bc0111277770bff3b26ff527431d57dadb8ff).
SUMMARY
Adds support for getting cluster information. It does not use, redis-py's cluster_info() because I couldn't get it to work when the cluster is yet to be configured. Hence the
execute_command
which works in that case.It's optional and can be invoked with adding
cluster: true
to the task:And returns the additionnal data in the
cluster_info
variable alongsideinfo
.ISSUE TYPE
COMPONENT NAME