mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-21 14:48:50 +00:00
Fix keycloak_quarkus_health_check_url crash when hostname is unset
Default keycloak_quarkus_hostname to empty string instead of null to prevent AttributeError when .rstrip() is called on NoneType in the health_check_url default expression. Fixes #423
This commit is contained in:
@@ -91,7 +91,7 @@ keycloak_quarkus_systemd_wait_for_timeout: 60
|
||||
keycloak_quarkus_systemd_wait_for_delay: 10
|
||||
|
||||
### keycloak frontend url
|
||||
keycloak_quarkus_hostname:
|
||||
keycloak_quarkus_hostname: ""
|
||||
keycloak_quarkus_hostname_admin: ""
|
||||
|
||||
### Set the path relative to / for serving resources. The path must start with a /
|
||||
|
||||
@@ -89,6 +89,7 @@ argument_specs:
|
||||
description: "Deprecated, use `keycloak_quarkus_http_host`"
|
||||
type: "str"
|
||||
keycloak_quarkus_hostname:
|
||||
default: ""
|
||||
description: >-
|
||||
Address at which is the server exposed.
|
||||
Can be a full URL, or just a hostname. When only hostname is provided, scheme, port and context path are resolved from the request.
|
||||
|
||||
Reference in New Issue
Block a user