1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add identity_api_version opt in OpenStack modules (#26103)

Fix #26092 : OpenStack modules does not work with identity v3
This commit is contained in:
Jeff Li 2018-01-27 05:08:13 +08:00 committed by Adam Miller
parent afc4d3c203
commit 346063795d
2 changed files with 9 additions and 0 deletions

View file

@ -90,6 +90,9 @@ def openstack_full_argument_spec(**kwargs):
api_timeout=dict(default=None, type='int'),
endpoint_type=dict(
default='public', choices=['public', 'internal', 'admin']
),
identity_api_version=dict(
default=None, choices=['2.0', '3']
)
)
spec.update(kwargs)

View file

@ -93,6 +93,12 @@ options:
choices: [public, internal, admin]
required: false
default: public
identity_api_version:
description:
- The identity API version
choices: [2.0, 3]
required: false
default: None
requirements:
- python >= 2.7
- shade