mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-21 14:48:50 +00:00
Check mode compared the realm returned by Keycloak with a plain dict.update() of the module parameters. Keycloak stores attributes, browserSecurityHeaders and smtpServer as string maps, merges attributes and browserSecurityHeaders into the existing values and masks the SMTP password, so the comparison never matched and check mode always reported a change while a live run reported ok. Predict the realm Keycloak would return for those maps in check mode and add molecule checks for unchanged and changed settings. Fixes #447 Signed-off-by: sarankumar1325 <120080287+sarankumar1325@users.noreply.github.com>