1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00

keycloak_userprofile: Add missing selector option (#11309)

* Add selector option

* Add fragment

* Formatting
This commit is contained in:
maxblome 2025-12-28 09:30:56 +01:00 committed by GitHub
parent 97e6ba0b65
commit 9f5114dc76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -259,6 +259,18 @@ options:
default:
- user
selector:
description:
- Selector when the attribute should be added.
type: dict
version_added: 12.2.0
suboptions:
scopes:
description:
- Scopes to which the attribute should be added.
type: list
elements: str
groups:
description:
- A list of attribute groups to be included in the User Profile.
@ -574,6 +586,7 @@ def main():
"required": dict(
type="dict", options={"roles": dict(type="list", elements="str", default=["user"])}
),
"selector": dict(type="dict", options={"scopes": dict(type="list", elements="str")}),
},
),
"groups": dict(