1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00
community.general/tests/integration/targets/keycloak_role
desand01 7c40c6b6b5
Keycloak role fix changed status (#10829)
* Exclude aliases before comparison

* add test

* fragment

* Update changelogs/fragments/10829-fix-keycloak-role-changed-status.yml

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

---------

Co-authored-by: Andre Desrosiers <andre.desrosiers@ssss.gouv.qc.ca>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-09-18 21:56:39 +02:00
..
tasks Keycloak role fix changed status (#10829) 2025-09-18 21:56:39 +02:00
vars Keycloak role fix changed status (#10829) 2025-09-18 21:56:39 +02:00
aliases Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
README.md Keycloak role fix changed status (#10829) 2025-09-18 21:56:39 +02:00

Running keycloak_user module integration test

To run Keycloak user module's integration test, start a keycloak server using Docker or Podman:

podman|docker run -d --rm --name mykeycloak -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=password quay.io/keycloak/keycloak:latest start-dev --http-relative-path /auth

Source Ansible env-setup from ansible github repository

Run integration tests:

ansible-test integration -v keycloak_role --allow-unsupported --docker fedora35 --docker-network host

Cleanup:

podman|docker stop mykeycloak