1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-07 20:47:16 +00:00

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
parent cba4fa2fe8
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

@ -31,6 +31,7 @@ options:
type: str
description:
- Composer arguments like required package, version and so on.
default: ''
executable:
type: path
description:

View file

@ -51,6 +51,7 @@ options:
type: str
description:
- The maven classifier coordinate
default: ''
extension:
type: str
description:

View file

@ -47,6 +47,7 @@ options:
- "remove"
- "checksum"
- "removal-of-dependent-packages"
default: ""
type: str
update_cache:
description:

View file

@ -73,7 +73,7 @@ options:
extra_args:
description:
- Additional option to pass to pacman when enforcing C(state).
default:
default: ''
type: str
update_cache:
@ -89,7 +89,7 @@ options:
update_cache_extra_args:
description:
- Additional option to pass to pacman when enforcing C(update_cache).
default:
default: ''
type: str
upgrade:
@ -102,7 +102,7 @@ options:
upgrade_extra_args:
description:
- Additional option to pass to pacman when enforcing C(upgrade).
default:
default: ''
type: str
reason:

View file

@ -152,7 +152,6 @@ options:
When some attribute is not listed in the new list of attributes, the existing
attribute will be removed from C(syspurpose.json) file. Unknown attributes are ignored.
type: dict
default: {}
suboptions:
usage:
description: Syspurpose attribute usage

View file

@ -76,6 +76,7 @@ options:
- especially useful for SCM and rsync grimoires
- makes sense only in pair with C(update_cache)
type: int
default: 0
'''