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

Update nexus_install.yml to accept both 200 and 304 status codes #413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cusux
Copy link

@cusux cusux commented Mar 15, 2024

If file exists on destination node and is identical to remote source, the get_url module outputs 304 status code and therefore both 200 and 304 need to be in the conditional.

In the current state, if file exists on destination node it will try X times until statuscode 200 is returned, which will result in a failed state of the run whenever a 304 status code is returned.

If file exists and is identical, module outputs 304 status code and therefore both 200 and 304 need to be in conditional.
@cusux cusux changed the title Update nexus_install.yml Update nexus_install.yml to accept both 200 and 304 status codes Mar 15, 2024
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

1 participant