mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-07-31 04:04:29 +00:00
Update identity_role_info for latest openstacksdk release
- Stop checking for to_dict, breaking compatibility with older sdk releases - Updates RETURN doc string with all the returned fields - Adds a new identity_role_info role to test the identity_role_info module. - Change the name of the module return value to remove 'openstack_' prefix Change-Id: If8a1145a31d685d41367383930e6fd08d64c6ae8
This commit is contained in:
committed by
Jakob Meng
parent
fdf4999747
commit
1d22a94a90
@@ -32,7 +32,7 @@
|
||||
- name: Assert role found
|
||||
assert:
|
||||
that:
|
||||
- roles.openstack_roles | length == 1
|
||||
- roles.roles | length == 1
|
||||
- name: Assert role changed
|
||||
assert:
|
||||
that: role is changed
|
||||
@@ -45,7 +45,7 @@
|
||||
that: role['role']['name'] == role_name
|
||||
- name: Assert retrieved values
|
||||
assert:
|
||||
that: roles.openstack_roles[0].name == role_name
|
||||
that: roles.roles[0].name == role_name
|
||||
|
||||
- block:
|
||||
- name: Create existing keystone role
|
||||
@@ -80,4 +80,4 @@
|
||||
- name: Assert no role found
|
||||
assert:
|
||||
that:
|
||||
- roles.openstack_roles | length == 0
|
||||
- roles.roles | length == 0
|
||||
|
||||
Reference in New Issue
Block a user