1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Also make sure the dest param is expanded locally before recalculating

This commit is contained in:
James Cammarata 2014-09-23 15:36:24 -05:00
parent e47f6137e5
commit 4e9c061b35

View file

@ -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