mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Drop username from return values of identity_user_info
Users would have a non-null username only with Identity API v2 which was available in Keystone of OpenStack Pike. Identity API v2 has been removed since OpenStack Queens [1]. Function search_users() from OpenStack SDK still returns the username attribute because of [2][3] but it will always be None since Keystone's API does not return username since OpenStack Pike. [1] https://docs.openstack.org/releasenotes/keystone/queens.html [2]975cabbdd8/openstack/cloud/_utils.py (L246)[3]76b081efe4Change-Id: I2054dd55662698dabd0f2b3565c31dcd3bf24e5a (cherry picked from commit5fc8fca06b)
This commit is contained in:
@@ -82,7 +82,7 @@ openstack_users:
|
||||
returned: success
|
||||
type: str
|
||||
name:
|
||||
description: Name given to the user.
|
||||
description: Username of the user.
|
||||
returned: success
|
||||
type: str
|
||||
enabled:
|
||||
@@ -102,7 +102,7 @@ openstack_users:
|
||||
returned: success
|
||||
type: str
|
||||
username:
|
||||
description: Username of the user
|
||||
description: Username with Identity API v2 (OpenStack Pike or earlier) else Null
|
||||
returned: success
|
||||
type: str
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user