ansible-ThoTeam / nexus3-oss

Ansible role to install and provision sonatype nexus3-oss
GNU General Public License v3.0
293 stars 209 forks source link

Handler: systemd service no_block restart configurable? #402

Open msegura501 opened 10 months ago

msegura501 commented 10 months ago

The handler is restarting nexus with no_block: true. Waiting for a healthy completed restart is done by the handler a little bit later in the handler by searching for string "Wait for Nexus to start" in the nexus log (here).

This is not ideal in upgrade scenarios where nexus has been restarted recently (the log may already contain the Started Sonatype Nexus) and Wait for Nexus port to be available can be reached before the restart has actually taken place.

Would it be ok to make the no_block configurable so that it can be disabled when there is a risk ?