Service availability wait after restart not happening by default
gionn opened this issue · 3 comments
gionn commented
SUMMARY
Hello,
after upgrading this collection:
- name: middleware_automation.keycloak
- version: 2.1.2
+ version: 2.3.0
I got a failure in my playbook because I have some tasks to configure realm/clients upon the execution of this collection, because the keycloak service was (not yet) up and running upon first (re)start.
After setting keycloak_quarkus_restart_health_check: true
, I've got the old behaviour for which the role do an active wait for the service to be available.
What's the reason for having it optional?
guidograzioli commented
gionn commented
I took a quick look and seems safe to switch the default to true, raised a PR
guidograzioli commented
I'll bump to 2.4.0 and release as soon the CI finishes