ansible-middleware / keycloak

Collection to install and configure Keycloak or Red Hat Single Sign-On / Red Hat Build of Keycloak
Apache License 2.0
82 stars 49 forks source link

Close #182, #221: improve restart handler logic #230

Closed hwo-wd closed 2 weeks ago

hwo-wd commented 2 weeks ago

This does restart sequentially (at least a single node gets restarted, then the others);

@guidograzioli:

guidograzioli commented 2 weeks ago

Change is going is right direction, but I have some additional idea on how to handle the restart (ie. include at least a couple of strategies, and allow for plugging in own restart behaviour). Happy to co-author this PR?

guidograzioli commented 2 weeks ago

This does not seem fruitful since the master realm needs to exist always afaik, so this is the perfect place to check against, wdyt?

I totally agree, however parameterizing that urlpath does not harm us either (keeping the current as default of course)

hwo-wd commented 2 weeks ago

Change is going is right direction, but I have some additional idea on how to handle the restart (ie. include at least a couple of strategies, and allow for plugging in own restart behaviour). Happy to co-author this PR?

This does not seem fruitful since the master realm needs to exist always afaik, so this is the perfect place to check against, wdyt?

I totally agree, however parameterizing that urlpath does not harm us either (keeping the current as default of course)

Ok, I've added an keycloak_quarkus_health_check_url_path option