mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Fixes/notes related to slashes in remote paths.
This commit is contained in:
parent
4991c77479
commit
21ba529fbe
6 changed files with 16 additions and 9 deletions
|
@ -79,7 +79,7 @@ class ActionModule(object):
|
|||
source = utils.path_dwim(self.runner.basedir, source)
|
||||
|
||||
|
||||
if dest.endswith("/"): # CCTODO
|
||||
if dest.endswith("/"): # CCTODO: Fix path for Windows hosts.
|
||||
base = os.path.basename(source)
|
||||
dest = os.path.join(dest, base)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue