redis_info
Retrieve Redis server and optional cluster information
Collection: community.general
Full Name: community.general.redis_info
Synopsis
Retrieve Redis server and optional cluster information
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| login_host | string | localhost | Redis server hostname | |
| login_port | int | 6379 | Redis server TCP port | |
| login_user | string | Redis ACL username | ||
| login_password | string | Redis authentication password; never included in errors | ||
| tls | bool | false | Connect using TLS | |
| validate_certs | bool | true | Validate the TLS server certificate | |
| ca_certs | string | PEM file containing trusted certificate authorities | ||
| client_cert_file | string | PEM client certificate file | ||
| client_key_file | string | PEM client private key file | ||
| cluster | bool | false | Also retrieve CLUSTER INFO |
Example
yaml
- name: Retrieve Redis information
community.general.redis_info:
login_host: localhost
tls: false