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