Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/keycloak_userprofile/readme.adoc

raw
1 // Copyright (c) Ansible Project
2 // GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 // SPDX-License-Identifier: GPL-3.0-or-later
4
5 To be able to run these integration tests a keycloak server must be
6 reachable under a specific url with a specific admin user and password.
7 The exact values expected for these parameters can be found in
8 'vars/main.yml' file. A simple way to do this is to use the official
9 keycloak docker images like this:
10
11 ----
12 docker run --name mykeycloak -p 8080:8080 -e KC_HTTP_RELATIVE_PATH=<url-path> -e KEYCLOAK_ADMIN=<admin_user> -e KEYCLOAK_ADMIN_PASSWORD=<admin_password> quay.io/keycloak/keycloak:24.0.5 start-dev
13 ----
14
15 Example with concrete values inserted:
16
17 ----
18 docker run --name mykeycloak -p 8080:8080 -e KC_HTTP_RELATIVE_PATH=/auth -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=password quay.io/keycloak/keycloak:24.0.5 start-dev
19 ----
20
21 This test suite can run against a fresh unconfigured server instance
22 (no preconfiguration required) and cleans up after itself (undoes all
23 its config changes) as long as it runs through completely. While its active
24 it changes the server configuration in the following ways:
25
26 * creating, modifying and deleting some keycloak userprofiles
27