mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
* Tidy up validate-modules ignores doc-required-mismatch * Tidy up validate-modules ignores doc-required-mismatch - update on 2.11 * Fixed chengelog frag * rolledback removal of parameter from cloud/smartos/vmadm.py * removed changelog frag for the rollback * Update plugins/modules/cloud/smartos/vmadm.py Co-authored-by: Felix Fontein <felix@fontein.de> * Revert "removed changelog frag for the rollback" This reverts commit56a02ead3b
. * suggestion from PR * yet another PR suggestion Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commitb69ea1dfd9
) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
a46fb7bcae
commit
1dfe7963cf
51 changed files with 158 additions and 220 deletions
|
@ -20,47 +20,57 @@ options:
|
|||
- C(config) (new in 1.6), ensures a configuration setting on an instance.
|
||||
- C(flush) flushes all the instance or a specified db.
|
||||
- C(slave) sets a redis instance in slave or master mode.
|
||||
required: true
|
||||
choices: [ config, flush, slave ]
|
||||
type: str
|
||||
login_password:
|
||||
description:
|
||||
- The password used to authenticate with (usually not used)
|
||||
type: str
|
||||
login_host:
|
||||
description:
|
||||
- The host running the database
|
||||
default: localhost
|
||||
type: str
|
||||
login_port:
|
||||
description:
|
||||
- The port to connect to
|
||||
default: 6379
|
||||
type: int
|
||||
master_host:
|
||||
description:
|
||||
- The host of the master instance [slave command]
|
||||
type: str
|
||||
master_port:
|
||||
description:
|
||||
- The port of the master instance [slave command]
|
||||
type: int
|
||||
slave_mode:
|
||||
description:
|
||||
- the mode of the redis instance [slave command]
|
||||
default: slave
|
||||
choices: [ master, slave ]
|
||||
type: str
|
||||
db:
|
||||
description:
|
||||
- The database to flush (used in db mode) [flush command]
|
||||
type: int
|
||||
flush_mode:
|
||||
description:
|
||||
- Type of flush (all the dbs in a redis instance or a specific one)
|
||||
[flush command]
|
||||
default: all
|
||||
choices: [ all, db ]
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- A redis config key.
|
||||
type: str
|
||||
value:
|
||||
description:
|
||||
- A redis config value. When memory size is needed, it is possible
|
||||
to specify it in the usal form of 1KB, 2M, 400MB where the base is 1024.
|
||||
Units are case insensitive i.e. 1m = 1mb = 1M = 1MB.
|
||||
type: str
|
||||
|
||||
notes:
|
||||
- Requires the redis-py Python package on the remote host. You can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue