ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
787 stars 1.45k forks source link

[PR #8496/fd2cd5f2 backport][stable-9] keycloak_clientscope: add normalizations for attributes and protocol_mappers #8521

Closed patchback[bot] closed 2 weeks ago

patchback[bot] commented 2 weeks ago

This is a backport of PR #8496 as merged into main (fd2cd5f28c7b2cc3b53f5366a94436a77f986dee).

SUMMARY

keycloak_clientscope: Add sorted attributes and protocol_mappers to normalizations.

ISSUE TYPE
COMPONENT NAME

keycloak_clientscope

ADDITIONAL INFORMATION

Without this code, ansible-playbook --check --diffwill show changes because a unsorted list is diffed. It uses the same approach as for keycloak_client in https://github.com/ansible-collections/community.general/blob/6c8f949ba950309931d8931f4820b99707898850/plugins/modules/keycloak_client.py#L730