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 on destination node and is identical to remote source, the
get_url
module outputs304
status code and therefore both200
and304
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 a304
status code is returned.