PARALLAX

redis_data_info

Read a Redis key and report whether it exists

Collection: community.general

Full Name: community.general.redis_data_info

Synopsis

Read a Redis key and report whether it exists

Parameters

NameTypeRequiredDefaultDescription
login_hoststringlocalhostRedis server hostname
login_portint6379Redis server TCP port
login_userstringRedis ACL username
login_passwordstringRedis authentication password; never included in errors
tlsbooltrueConnect using TLS
validate_certsbooltrueValidate the TLS server certificate
ca_certsstringPEM file containing trusted certificate authorities
client_cert_filestringPEM client certificate file
client_key_filestringPEM client private key file
keystringyesDatabase key

Example

yaml
- name: Retrieve Redis information
  community.general.redis_data_info:
    login_host: localhost
    tls: false
    key: example
Search
    ↑ ↓ move↵ openesc close