Skip to content

Commit

Permalink
[PR #5863/95b8afde backport][stable-6] providerType should be default…
Browse files Browse the repository at this point in the history
…ed for keycloak_user_federation mappers (#6079)

providerType should be defaulted for keycloak_user_federation mappers (#5863)

* feat(modules/keycloak_user_federation): mapper ...

... provider type should have a default value

* add changelog fragment

---------

Co-authored-by: Mirko Wilhelmi <Mirko.Wilhelmi@sma.de>
(cherry picked from commit 95b8afd)

Co-authored-by: morco <thegreatwiper@web.de>
  • Loading branch information
patchback[bot] and morco committed Feb 25, 2023
1 parent 3aeaab2 commit 79d15d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- keycloak_user_federation - make ``org.keycloak.storage.ldap.mappers.LDAPStorageMapper`` the default value for mappers ``providerType`` (https://github.com/ansible-collections/community.general/pull/5863).
5 changes: 3 additions & 2 deletions plugins/modules/keycloak_user_federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,9 @@
providerType:
description:
- Component type for this mapper (only supported value is C(org.keycloak.storage.ldap.mappers.LDAPStorageMapper)).
- Component type for this mapper.
type: str
default: org.keycloak.storage.ldap.mappers.LDAPStorageMapper
config:
description:
Expand Down Expand Up @@ -782,7 +783,7 @@ def main():
name=dict(type='str'),
parentId=dict(type='str'),
providerId=dict(type='str'),
providerType=dict(type='str'),
providerType=dict(type='str', default='org.keycloak.storage.ldap.mappers.LDAPStorageMapper'),
config=dict(type='dict'),
)

Expand Down

0 comments on commit 79d15d5

Please sign in to comment.