Add identity_api_version opt in OpenStack modules (#26103)
Fix #26092 : OpenStack modules does not work with identity v3
This commit is contained in:
parent
afc4d3c203
commit
346063795d
2 changed files with 9 additions and 0 deletions
|
@ -90,6 +90,9 @@ def openstack_full_argument_spec(**kwargs):
|
||||||
api_timeout=dict(default=None, type='int'),
|
api_timeout=dict(default=None, type='int'),
|
||||||
endpoint_type=dict(
|
endpoint_type=dict(
|
||||||
default='public', choices=['public', 'internal', 'admin']
|
default='public', choices=['public', 'internal', 'admin']
|
||||||
|
),
|
||||||
|
identity_api_version=dict(
|
||||||
|
default=None, choices=['2.0', '3']
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
spec.update(kwargs)
|
spec.update(kwargs)
|
||||||
|
|
|
@ -93,6 +93,12 @@ options:
|
||||||
choices: [public, internal, admin]
|
choices: [public, internal, admin]
|
||||||
required: false
|
required: false
|
||||||
default: public
|
default: public
|
||||||
|
identity_api_version:
|
||||||
|
description:
|
||||||
|
- The identity API version
|
||||||
|
choices: [2.0, 3]
|
||||||
|
required: false
|
||||||
|
default: None
|
||||||
requirements:
|
requirements:
|
||||||
- python >= 2.7
|
- python >= 2.7
|
||||||
- shade
|
- shade
|
||||||
|
|
Loading…
Reference in a new issue