From b24a1b3e1307e7f0ac55e5676e47fdc18264ceb0 Mon Sep 17 00:00:00 2001 From: Michael Riss Date: Thu, 28 Mar 2019 19:46:57 +0100 Subject: [PATCH] Update the `dest` return parameter in the 'result` dictionary in case that the 'dest' variable gets recomposed from the destination directory and the filename. (#53823) That's a proposal to fix #53822. --- lib/ansible/modules/net_tools/basics/get_url.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/net_tools/basics/get_url.py b/lib/ansible/modules/net_tools/basics/get_url.py index fc26066cf93..86fe01a5be3 100644 --- a/lib/ansible/modules/net_tools/basics/get_url.py +++ b/lib/ansible/modules/net_tools/basics/get_url.py @@ -573,6 +573,7 @@ def main(): # it. filename = url_filename(info['url']) dest = os.path.join(dest, filename) + result['dest'] = dest # raise an error if there is no tmpsrc file if not os.path.exists(tmpsrc):