homeserver/collections/community/general/tests/integration/targets/keycloak_role
Michael Grote ccaaabc1be fix ansible-lint (#583)
Reviewed-on: #583
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-19 11:10:04 +02:00
..
tasks fix ansible-lint (#583) 2023-10-19 11:10:04 +02:00
vars fix ansible-lint (#583) 2023-10-19 11:10:04 +02:00
aliases fix ansible-lint (#583) 2023-10-19 11:10:04 +02:00
README.md fix ansible-lint (#583) 2023-10-19 11:10:04 +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 keycloak_role --python 3.10 --allow-unsupported

Cleanup:

podman|docker stop mykeycloak