Fix non-matching defaults in docs (#5446) (#5451)

* Allow to pass options as lookup options.

* Adjust tests.

* Fix non-matching defaults.

(cherry picked from commit a978bff2c7)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-11-01 18:06:30 +00:00 committed by GitHub
commit b26df2a008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 187 additions and 63 deletions

View file

@ -62,11 +62,13 @@ options:
description:
- Free-form options to be passed to the mklv command.
type: str
default: ''
pvs:
description:
- A list of physical volumes e.g. C(hdisk1,hdisk2).
type: list
elements: str
default: []
'''
EXAMPLES = r'''

View file

@ -56,7 +56,6 @@ options:
description:
- Password for importing from PKCS12 keystore.
type: str
default: ''
pkcs12_alias:
description:
- Alias in the PKCS12 keystore.

View file

@ -42,6 +42,7 @@ options:
description:
- Additional options to pass to C(pvcreate) when creating the volume group.
type: str
default: ''
pvresize:
description:
- If C(true), resize the physical volume to the maximum available size.
@ -52,6 +53,7 @@ options:
description:
- Additional options to pass to C(vgcreate) when creating the volume group.
type: str
default: ''
state:
description:
- Control if the volume group exists.

View file

@ -38,6 +38,7 @@ options:
description:
- Name of the SELinux policy store to use.
type: str
default: ''
notes:
- Requires a recent version of SELinux and C(policycoreutils-python) (EL 6 or newer).
requirements: [ policycoreutils-python ]