Expand tilde remotely in action plugins

This commit is contained in:
Toshio Kuratomi 2014-11-11 12:28:19 -08:00
parent fa953e162e
commit bc4272d2a2
7 changed files with 33 additions and 4 deletions

View file

@ -71,6 +71,7 @@ class ActionModule(object):
return ReturnData(conn=conn, result=results)
source = conn.shell.join_path(source)
source = self.runner._remote_expand_user(conn, source, tmp)
# calculate checksum for the remote file
remote_checksum = self.runner._remote_checksum(conn, tmp, source, inject)