ansible-keycloak/roles/keycloak
Guido Grazioli 4ed54a648f fix incorrect rhn download url 2021-12-15 13:55:41 +01:00
..
defaults fix incorrect rhn download url 2021-12-15 13:55:41 +01:00
handlers Add base role and playbook, molecule configuration 2021-12-14 11:26:42 +01:00
meta Fix linter warnings 2021-12-14 11:34:41 +01:00
tasks fix incorrect rhn download url 2021-12-15 13:55:41 +01:00
templates Extract vars, template fixes, add README 2021-12-15 12:33:42 +01:00
vars Extract vars, template fixes, add README 2021-12-15 12:33:42 +01:00
README.md Extract vars, template fixes, add README 2021-12-15 12:33:42 +01:00

README.md

keycloak

Install keycloak or Red Hat Single Sing-On server configurations.

Role Defaults

Variable Description Default
keycloak_ha_enabled enable auto configuration for database backend, clustering and remote caches on infinispan False
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 when keycloak_ha_enabled is True:

Variable Description Default
keycloak_modcluster_url URL for the modcluster reverse proxy localhost
postgres_jdbc_url URL for the postgres backend database jdbc:postgresql://localhost:5432/keycloak
postgres_db_user username for connecting to postgres keycloak-user
postgres_db_pass password for connecting to postgres keycloak-pass
infinispan_url URL for the infinispan remote-cache server localhost:11122
infinispan_user username for connecting to infinispan supervisor
infinispan_pass password for connecting to infinispan supervisor

Dependencies

The roles depends on:

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
          vars:
            keycloak_admin_password: "changeme"

License

Apache License 2.0

Author Information