community.general/tests/integration/targets/keycloak_role
Mark Armstrong 910c57aaa0
keycloak: repair integration tests by removing jinja2 templating from conditionals (#9726) (#9727)
* fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726)

* fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726)

This test needs a further fix; see #9744. Left for a future PR for now.

* fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726)

* chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726)

These instances of templating were not causing failures,
but this removes the warnings.

* chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726)

These instances of templating were not causing failures,
but this removes the warnings.

* docs: add changelog fragment (#9726)

* docs: repair changelog fragment yaml (#9726)

* docs: actually repair changelog fragment yaml (#9726)

* chore: remove changelog fragment for test only pr (#9726)
2025-02-15 22:53:23 +13:00
..
tasks keycloak: repair integration tests by removing jinja2 templating from conditionals (#9726) (#9727) 2025-02-15 22:53:23 +13:00
vars Inspq keycloak role composites (#6469) 2023-06-15 06:57:30 +02:00
README.md Inspq keycloak role composites (#6469) 2023-06-15 06:57:30 +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

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