mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user