mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07:00
Use ansible_python_interpreter value for remote checksums
Fixes #11968 Fixes #11969
This commit is contained in:
parent
7a51836530
commit
4836641683
6 changed files with 12 additions and 13 deletions
|
@ -66,7 +66,7 @@ class ActionModule(ActionBase):
|
|||
else:
|
||||
source = self._loader.path_dwim(source)
|
||||
|
||||
remote_checksum = self._remote_checksum(tmp, dest)
|
||||
remote_checksum = self._remote_checksum(tmp, dest, all_vars=task_vars)
|
||||
if remote_checksum != '3':
|
||||
return dict(failed=True, msg="dest '%s' must be an existing dir" % dest)
|
||||
elif remote_checksum == '4':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue