1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
Jakub Danek fd0d05d6f2
Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7418)
* fix keycloak_identity_provider ITs to actually pass

- wrong identityProviderAlias in mapper configuration

* kc_identity_provider: add mapper reconfiguration regression tests

* test for removing an existing mapper
* test for adding a new mapper when others already exist
* test for module idempotency when mappers not ordered by name in ascending order

* kc_identity_provider: add bugfixes for mapper reconfigurations

* removing an existing mapper
* adding a new mapper when others already exist
* module idempotency when mappers not ordered by name in ascending order

* add changelog fragment

* prevent unnecessary update_mapper calls when there is no change

* Update changelogs/fragments/7418-kc_identity_provider-mapper-reconfiguration-fixes.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/7418-kc_identity_provider-mapper-reconfiguration-fixes.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/7418-kc_identity_provider-mapper-reconfiguration-fixes.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/keycloak_identity_provider.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* kc_identity_provider: sort changeset mappers via name OR id to prevent potential failures in case name was not specified in playbook

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-28 09:50:01 +01:00
..
action Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
become machinectl become plugin: mark as require_tty (#6935) 2023-07-15 12:53:59 +02:00
cache Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
callback More docs cleanup (#7552) 2023-11-22 22:45:28 +01:00
connection Introduce an Incus connection plugin (#7726) 2023-12-28 08:32:31 +01:00
doc_fragments 🔐 Load OP_SERVICE_ACCOUNT_TOKEN from ENVs (#7721) 2023-12-21 13:09:56 +01:00
filter Adding a new filter: to_ini, which allows conversion of a dictionary to an INI formatted string (#7744) 2023-12-28 08:32:57 +01:00
inventory Only disable cert validation in examples for local network access (#7576) 2023-11-26 21:54:53 +01:00
lookup Improve docs of bitwarden lookup (#7727) 2023-12-22 19:32:19 +01:00
module_utils Keycloak print error msg from server (#7645) 2023-12-03 09:42:48 +01:00
modules Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7418) 2023-12-28 09:50:01 +01:00
test Add test fqdn_valid (#7533) 2023-11-22 09:12:00 +01:00