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:
parent
e47f6137e5
commit
4e9c061b35
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ class ActionModule(object):
|
|||
else:
|
||||
source_local = source
|
||||
|
||||
dest = os.path.expanduser(dest)
|
||||
if flat:
|
||||
if dest.endswith("/"):
|
||||
# if the path ends with "/", we'll use the source filename as the
|
||||
|
|
Loading…
Reference in a new issue