ansible-keycloak/roles/keycloak_realm/README.md

1.3 KiB

keycloak_realm

Create realms and clients in keycloak or Red Hat Single Sing-On services.

Role Defaults

Variable Description Default
keycloak_admin_user Administration console user account admin

Role Variables

The following are a set of required variables for the role:

Variable Description
keycloak_admin_password Password for the administration console user account

The following variables are required only when keycloak_ha_enabled is True:

Variable Description Default

Example Playbook

The following is an example playbook that makes use of the role to install keycloak

---
- hosts: ...
      collections:
        - middleware_automation.keycloak
      tasks:
        - name: Include keycloak role
          include_role:
            name: keycloak_realm
          vars:
            keycloak_admin_password: "changeme"

License

Apache License 2.0

Author Information