Merge pull request #2 from ansible-middleware/display_health_url
Enhance wait message with keycloak healthcheck URLmain
commit
d663dea5c9
|
@ -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