Enhance wait message with keycloak healthcheck URL

main
Romain Pelisse 2021-12-29 18:30:58 +01:00
parent 496c902427
commit 543e82cb9f
1 changed files with 5 additions and 2 deletions

View File

@ -56,9 +56,12 @@
- meta: flush_handlers - 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: uri:
url: "{{ keycloak_management_url }}/health" url: "{{ health_url }}"
register: keycloak_status register: keycloak_status
until: keycloak_status.status == 200 until: keycloak_status.status == 200
retries: 20 retries: 20