mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-01 13:59:09 -07:00
Expand tilde remotely in action plugins
This commit is contained in:
parent
fa953e162e
commit
bc4272d2a2
7 changed files with 33 additions and 4 deletions
|
@ -75,6 +75,8 @@ class ActionModule(object):
|
|||
else:
|
||||
source = utils.path_dwim(self.runner.basedir, source)
|
||||
|
||||
# Expand any user home dir specification
|
||||
dest = self.runner._remote_expand_user(conn, dest, tmp)
|
||||
|
||||
if dest.endswith("/"): # CCTODO: Fix path for Windows hosts.
|
||||
base = os.path.basename(source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue