Update identity_group for 2.0.0

Replace calls to the sdk cloud layer with proxy layer calls where
appropriate.

Ensure module return values are converted into dict.

General refactoring to bring module more in line with collection
conventions.

Expand tests to assert idempotency and presence of return values.

Rename test role to identity_group to match module name.

Change-Id: I06fe28f77431bb151d85c8d9cd924a1634d85d98
This commit is contained in:
Rafael Castillo
2022-08-05 19:21:09 -07:00
committed by Jakob Meng
parent d0eb83e934
commit 5e7c29d97e
7 changed files with 192 additions and 62 deletions

View File

@@ -12,7 +12,6 @@
- role: object_container
tags: object_container
when: sdk_version is version(0.18, '>=')
- { role: group, tags: group }
- role: dns
tags: dns
when: sdk_version is version(0.28, '>=')
@@ -20,6 +19,7 @@
- { role: floating_ip_info, tags: floating_ip_info }
- { role: host_aggregate, tags: host_aggregate }
- { role: identity_domain_info, tags: identity_domain_info }
- { role: identity_group, tags: identity_group }
- { role: identity_group_info, tags: identity_group_info }
- { role: identity_user, tags: identity_user }
- { role: identity_user_info, tags: identity_user_info }