mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-22 07:00:33 +00:00
AMW-641 Fix health check URL to use localhost instead of public hostname
Replace hostname-based health check URL with localhost. The health check runs on the managed host itself, so it should always target localhost rather than the public-facing keycloak_quarkus_hostname which can be empty or a domain name behind a load balancer. Compose the URL directly from existing production variables (keycloak_quarkus_http_enabled, keycloak_quarkus_http_port, keycloak_quarkus_https_port, keycloak_quarkus_http_relative_path) without introducing intermediate variables. Add .config/molecule/config.yml with shared molecule settings and a new quarkus_nohost test scenario that verifies the role works when keycloak_quarkus_hostname is left at its default empty value. Fixes #428
This commit is contained in:
@@ -34,4 +34,4 @@ jobs:
|
||||
root_permission_varname: 'keycloak_install_requires_become'
|
||||
debug_verbosity: "${{ github.event.inputs.debug_verbosity }}"
|
||||
molecule_tests: >-
|
||||
[ "debian", "sso_test", "quarkus", "quarkus_ha", "quarkus_ha_remote", "quarkus_ha_26.4_below", "default", "quarkus_devmode", "quarkus_upgrade", "keycloak_modules", "quarkus_relpath" ]
|
||||
[ "debian", "sso_test", "quarkus", "quarkus_ha", "quarkus_ha_remote", "quarkus_ha_26.4_below", "default", "quarkus_devmode", "quarkus_upgrade", "keycloak_modules", "quarkus_relpath", "quarkus_nohost" ]
|
||||
|
||||
Reference in New Issue
Block a user