Merge pull request #2 from ansible-middleware/display_health_url

Enhance wait message with keycloak healthcheck URL
main
Guido Grazioli 2021-12-30 10:47:33 +01:00 committed by GitHub
commit d663dea5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -56,9 +56,12 @@
- meta: flush_handlers
- name: Wait until Keycloak becomes active
- set_fact:
health_url: "{{ keycloak_management_url }}/health"
- name: "Wait until Keycloak becomes active {{ health_url }}"
uri:
url: "{{ keycloak_management_url }}/health"
url: "{{ health_url }}"
register: keycloak_status
until: keycloak_status.status == 200
retries: 20