Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add retries to download #373

Merged
merged 3 commits into from
Mar 14, 2023

Conversation

kvandenhoute
Copy link
Contributor

This PR adds a retry to the download of the Nexus package.

We currently use this role to install Nexus. However, we also use an existing Nexus which serves as a proxy for the Nexus packages. When downloading a newer version that is not yet available, the installation can fail because of a timeout when the new artifact is still downloading (with a slower internet connection, this is a common issue we have). Adding a retry is a solution for this issue.

Current behavior isn't changed because of the introduction of two new variables (which are also documented in the readme)

    nexus_download_retries: 3 # 0 by default
    nexus_download_delay: 15

@zeitounator zeitounator merged commit bf108cd into ansible-ThoTeam:main Mar 14, 2023
@zeitounator
Copy link
Member

This PR is of excellent quality ! This is already on main (going through CI) and will be included in the next tagged release (with citations in the notes). Thanks for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants