1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-06 12:07:14 +00:00

Tidy up validate-modules ignores doc-required-mismatch

This commit is contained in:
Alexei Znamensky 2020-11-28 16:54:00 +13:00
parent cff8463882
commit e91903c531
51 changed files with 160 additions and 220 deletions

View file

@ -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