mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +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