mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -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
|
@ -157,6 +157,9 @@ class ActionModule(object):
|
|||
if "-tmp-" not in tmp_path:
|
||||
tmp_path = self.runner._make_tmp_path(conn)
|
||||
|
||||
# expand any user home dir specifier
|
||||
dest = self.runner._remote_expand_user(conn, dest, tmp_path)
|
||||
|
||||
for source_full, source_rel in source_files:
|
||||
# Generate a hash of the local file.
|
||||
local_checksum = utils.checksum(source_full)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue