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
patchback[bot] a7dac117e5
[PR #7418/fd0d05d6 backport][stable-8] Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7775)
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>
(cherry picked from commit fd0d05d6f2)

Co-authored-by: Jakub Danek <danekja@users.noreply.github.com>
2023-12-28 09:59:46 +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 [PR #7552/58705d5a backport][stable-8] More docs cleanup (#7579) 2023-11-23 06:18:57 +01:00
connection [PR #7726/6d74e0c6 backport][stable-8] Introduce an Incus connection plugin (#7770) 2023-12-28 09:33:30 +01:00
doc_fragments [PR #7721/1fdbb50a backport][stable-8] 🔐 Load OP_SERVICE_ACCOUNT_TOKEN from ENVs (#7757) 2023-12-21 23:11:46 +01:00
filter [PR #7744/ec12422f backport][stable-8] Adding a new filter: to_ini, which allows conversion of a dictionary to an INI formatted string (#7772) 2023-12-28 09:34:13 +01:00
inventory [PR #7576/d9f3e7a2 backport][stable-8] Only disable cert validation in examples for local network access (#7618) 2023-11-26 22:13:50 +01:00
lookup [PR #7727/825bec70 backport][stable-8] Improve docs of bitwarden lookup (#7760) 2023-12-22 21:24:06 +01:00
module_utils [stable-8] Keycloak print error msg from server (#7645) (#7675) 2023-12-03 10:07:08 +01:00
modules [PR #7418/fd0d05d6 backport][stable-8] Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7775) 2023-12-28 09:59:46 +01:00
test [PR #7533/2a5e7c33 backport][stable-8] Add test fqdn_valid (#7567) 2023-11-22 09:26:17 +01:00