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)
This commit is contained in:
parent
baacde6c74
commit
85af6986cd
1 changed files with 2 additions and 0 deletions
2
get_url
2
get_url
|
@ -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…
Reference in a new issue