mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -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
|
@ -55,7 +55,7 @@ class ActionModule(ActionBase):
|
|||
source = self._remote_expand_user(source, tmp)
|
||||
|
||||
# calculate checksum for the remote file
|
||||
remote_checksum = self._remote_checksum(tmp, source)
|
||||
remote_checksum = self._remote_checksum(tmp, source, all_vars=task_vars)
|
||||
|
||||
# use slurp if sudo and permissions are lacking
|
||||
remote_data = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue