Use ansible_python_interpreter value for remote checksums

Fixes #11968
Fixes #11969
This commit is contained in:
James Cammarata 2015-08-15 12:00:13 -04:00
commit 4836641683
6 changed files with 12 additions and 13 deletions

View file

@ -108,7 +108,7 @@ class ActionModule(ActionBase):
path_checksum = checksum_s(path)
dest = self._remote_expand_user(dest, tmp)
remote_checksum = self._remote_checksum(tmp, dest)
remote_checksum = self._remote_checksum(tmp, dest, all_vars=task_vars)
if path_checksum != remote_checksum:
resultant = file(path).read()