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

@ -109,6 +109,7 @@ class ActionModule(object):
path = self._assemble_from_fragments(src, delimiter, _re)
path_checksum = utils.checksum_s(path)
dest = self.runner._remote_expand_user(conn, dest, tmp)
remote_checksum = self.runner._remote_checksum(conn, tmp, dest, inject)
if path_checksum != remote_checksum: