redis
Collection: community.general
Full Name: parallax.community.general.redis
Aliases: community.general.redis, redis
Synopsis
Manage redis
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| command | string | yes | Redis command to execute (e.g. config, slave, flush) | |
| login_host | string | localhost | Host running the Redis server | |
| login_port | int | 6379 | Port of the Redis server | |
| login_password | string | Password for Redis authentication | ||
| name | string | Name of the Redis config parameter or key | ||
| value | string | Value to set for the config parameter or key | ||
| master_host | string | Host of the Redis master for replication | ||
| master_port | int | Port of the Redis master for replication | ||
| master_auth | string | Authentication password for the master | ||
| db | int | 0 | Redis database number | |
| flush_mode | string | all | Flush mode Choices: all, db |
Example
- name: Example redis task
redis:
command: <your_command>