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
I have just tested that current download is defined in nexus_install.yml does not work when you set nexus_download_retries to higher than 0. This because the HTTP status 304 "Not Modified" will be returned if file already been downloaded once at least when you download via proxy. https://github.com/ansible-ThoTeam/nexus3-oss/blob/main/tasks/nexus_install.yml#L69-L84
Problem here is until is only waiting for 200 but it must also wait for 304 when file has already been downloaded once.
I extracted just the download task (removed config that does not affect the result) to separate playbook using ansible-core 2.13 and 2.15 which behaves the same.
I have just tested that current download is defined in nexus_install.yml does not work when you set nexus_download_retries to higher than 0. This because the HTTP status 304 "Not Modified" will be returned if file already been downloaded once at least when you download via proxy.
https://github.com/ansible-ThoTeam/nexus3-oss/blob/main/tasks/nexus_install.yml#L69-L84
Problem here is
until
is only waiting for 200 but it must also wait for 304 when file has already been downloaded once.I extracted just the download task (removed config that does not affect the result) to separate playbook using ansible-core 2.13 and 2.15 which behaves the same.
First run
Show file has been downloaded correctly:
Second run:
To fix this then until needs to look like this:
The text was updated successfully, but these errors were encountered: