mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Also make sure the dest param is expanded locally before recalculating
This commit is contained in:
@@ -83,6 +83,7 @@ class ActionModule(object):
|
|||||||
else:
|
else:
|
||||||
source_local = source
|
source_local = source
|
||||||
|
|
||||||
|
dest = os.path.expanduser(dest)
|
||||||
if flat:
|
if flat:
|
||||||
if dest.endswith("/"):
|
if dest.endswith("/"):
|
||||||
# if the path ends with "/", we'll use the source filename as the
|
# if the path ends with "/", we'll use the source filename as the
|
||||||
|
|||||||
Reference in New Issue
Block a user