Fix some subtle behavior of how the get_url module chains into the file module, plus blend the results of daisy chain

operations in the correct order, so the file module results overlay the original module results, not the other way
around (which keeps any failure msg's intact)
reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent baacde6c74
commit 85af6986cd

@ -64,6 +64,8 @@ def url_do_get(module, url, dest):
else:
actualdest = dest
info['daisychain_args'] = module.params
info['daisychain_args']['state'] = 'file'
info['daisychain_args']['dest'] = actualdest
info['actualdest'] = actualdest
request = urllib2.Request(url)

Loading…
Cancel
Save