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] ef42314714
[PR #7418/fd0d05d6 backport][stable-7] Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7774)
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:43 +01:00
..
action [PR #7439/2b628260 backport][stable-7] Fix more typos (#7445) 2023-10-29 20:26:39 +01:00
become [PR #6935/24feb1dd backport][stable-7] machinectl become plugin: mark as require_tty (#6942) 2023-07-15 16:27:26 +02:00
cache [PR #7439/2b628260 backport][stable-7] Fix more typos (#7445) 2023-10-29 20:26:39 +01:00
callback [PR #7549/d530470d backport][stable-7] logentries: docs improvements (#7571) 2023-11-22 19:27:28 +01:00
connection [PR #7439/2b628260 backport][stable-7] Fix more typos (#7445) 2023-10-29 20:26:39 +01:00
doc_fragments [PR #7439/2b628260 backport][stable-7] Fix more typos (#7445) 2023-10-29 20:26:39 +01:00
filter [PR #7296/756e8f5c backport][stable-7] Update from_csv.py docs (#7300) 2023-09-20 22:44:15 +02:00
inventory [PR #7439/2b628260 backport][stable-7] Fix more typos (#7445) 2023-10-29 20:26:39 +01:00
lookup [PR #7727/825bec70 backport][stable-7] Improve docs of bitwarden lookup (#7759) 2023-12-22 21:24:09 +01:00
module_utils [PR #7641/58cce27d backport][stable-7] Fix Keycloak API client to quote '/' properly (#7664) 2023-12-02 09:40:02 +01:00
modules [PR #7418/fd0d05d6 backport][stable-7] Bugfix: keycloak_identity_provider does not handle mapper changes properly (#7774) 2023-12-28 09:59:43 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00