|
|
|
@ -22,9 +22,9 @@ module: redis
|
|
|
|
|
short_description: Various redis commands, slave and flush
|
|
|
|
|
description:
|
|
|
|
|
- Unified utility to interact with redis instances.
|
|
|
|
|
'slave' Sets a redis instance in slave or master mode.
|
|
|
|
|
'flush' Flushes all the instance or a specified db.
|
|
|
|
|
'config' Ensures a configuration setting on an instance.
|
|
|
|
|
'slave' sets a redis instance in slave or master mode.
|
|
|
|
|
'flush' flushes all the instance or a specified db.
|
|
|
|
|
'config' (new in 1.6), ensures a configuration setting on an instance.
|
|
|
|
|
version_added: "1.3"
|
|
|
|
|
options:
|
|
|
|
|
command:
|
|
|
|
@ -77,11 +77,13 @@ options:
|
|
|
|
|
default: all
|
|
|
|
|
choices: [ "all", "db" ]
|
|
|
|
|
name:
|
|
|
|
|
version_added: 1.6
|
|
|
|
|
description:
|
|
|
|
|
- A redis config key.
|
|
|
|
|
required: false
|
|
|
|
|
default: null
|
|
|
|
|
value:
|
|
|
|
|
version_added: 1.6
|
|
|
|
|
description:
|
|
|
|
|
- A redis config value.
|
|
|
|
|
required: false
|
|
|
|
|