Allow subspec defaults to be processed when the parent argument is not supplied (#38967)

* Allow subspec defaults to be processed when the parent argument is not supplied

* Allow this to be configurable via apply_defaults on the parent

* Document attributes of arguments in argument_spec

* Switch manageiq_connection to use apply_defaults

* add choices to api_version in argument_spec
This commit is contained in:
Matt Martz 2018-05-07 11:23:13 -05:00 committed by GitHub
parent 108eac9339
commit 1663b64e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 130 additions and 10 deletions

View file

@ -48,7 +48,7 @@ def manageiq_argument_spec():
return dict(
manageiq_connection=dict(type='dict',
default=dict(verify_ssl=True),
apply_defaults=True,
options=options),
)