Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/keycloak_modules_authentication/README.md

raw
1 <!--
2 Copyright (c) Ansible Project
3 GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 SPDX-License-Identifier: GPL-3.0-or-later
5 -->
6 # Running keycloak module authentication integration test
7
8 To run the Keycloak module authentication integration test, start a keycloak server using Docker or Podman:
9
10 ```sh
11 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
12 ```
13
14 Source Ansible env-setup from ansible github repository.
15
16 Run the integration tests:
17
18 ```sh
19 ansible-test integration keycloak_role --python 3.10 --allow-unsupported
20 ```
21
22 To cleanup, run:
23
24 ```sh
25 podman|docker stop mykeycloak
26 ```