1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 21:33:11 +00:00
community.general/tests/integration/targets/keycloak_role
Felix Fontein bb93811ea6
Improve --docker arguments to ansible-test (#12070)
Improve --docker arguments to ansible-test.
2026-05-17 10:47:56 +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 Improve --docker arguments to ansible-test (#12070) 2026-05-17 10:47:56 +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 fedora --docker-network host

Cleanup:

podman|docker stop mykeycloak