Enhance wait message with keycloak healthcheck URL
parent
496c902427
commit
543e82cb9f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue