Wait for the service to be available.
This commit is contained in:
parent
0f49dda00f
commit
0605f917c1
tasks
|
@ -27,4 +27,10 @@
|
|||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Wait for the service to be up before proceeding
|
||||
ansible.builtin.wait_for:
|
||||
port: "{% if keycloak_https_enabled %}{{ keycloak_https_port }}{% else %}{{ keycloak_http_port }}{% endif %}"
|
||||
delay: 10
|
||||
timeout: 90
|
||||
|
||||
tags: ['keycloak', 'keycloak_service', 'keycloak_conf']
|
||||
|
|
Loading…
Reference in New Issue