You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is notify: - nexus-service-stop here? I don't see the need to restart Nexus if only it's package was downloaded. True change happens when unpacking Nexus:
So which triggers nexus-service-stop by itself if it changes.
Furthermore I encountered case, when this (in my opinion useless notify: - nexus-service-stop) restarts Nexus needlessly:
I created a Nexus and left it running for a longer time
I didn't set nexus_download_dir so tarball got saved to /tmp
After a while tarball got wiped from /tmp.
I run playbook again to apply some minor changes in repositories and unexpectedly it restarts Nexus (since Download nexus_package task state is "changed")
If notify: - nexus-service-stop has no purpose in task - name: Download nexus_package task, then I'd consider removing it.
If you agree, I can create a PR.
The text was updated successfully, but these errors were encountered:
bzakdd
changed the title
Question: Rationale for notify: -nexus-service-stop in task Download nexus_package
Question: Rationale for notify: -nexus-service-stop in task Download nexus_packageJan 18, 2024
Hello!
I have a question regarding following task:
Why is
notify: - nexus-service-stop
here? I don't see the need to restart Nexus if only it's package was downloaded. True change happens when unpacking Nexus:So which triggers
nexus-service-stop
by itself if it changes.Furthermore I encountered case, when this (in my opinion useless
notify: - nexus-service-stop
) restarts Nexus needlessly:nexus_download_dir
so tarball got saved to/tmp
/tmp
.Download nexus_package
task state is "changed")If
notify: - nexus-service-stop
has no purpose in task- name: Download nexus_package
task, then I'd consider removing it.If you agree, I can create a PR.
The text was updated successfully, but these errors were encountered: