summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-03-15 13:09:40 -0500
committerGitHub <noreply@github.com>2022-03-15 11:09:40 -0700
commitef46bc46f459cf702f098d64b37c74cf0557ebd7 (patch)
tree8088706851ed034c19d4a417d6c2c11ade73adc9 /lib
parent7a8c6d74188b56228db77fed727cf1fdf3cc141d (diff)
downloadansible-ef46bc46f459cf702f098d64b37c74cf0557ebd7.tar.gz
[stable-2.11] Use full python package for ansiballz cache filenames (#77090) (#77126)
* [stable-2.11] Use full python package for ansiballz cache filenames (#77090) * Use full python package for ansiballz cache filenames * Be a little more explicit about test goals (cherry picked from commit 8cbe143) Co-authored-by: Matt Martz <matt@sivel.net> * linting
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/executor/module_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py
index 8c48f72bc4..73a7a57e24 100644
--- a/lib/ansible/executor/module_common.py
+++ b/lib/ansible/executor/module_common.py
@@ -1156,7 +1156,7 @@ def _find_module_utils(module_name, b_module_data, module_path, module_args, tas
compression_method = zipfile.ZIP_STORED
lookup_path = os.path.join(C.DEFAULT_LOCAL_TMP, 'ansiballz_cache')
- cached_module_filename = os.path.join(lookup_path, "%s-%s" % (module_name, module_compression))
+ cached_module_filename = os.path.join(lookup_path, "%s-%s" % (remote_module_fqn, module_compression))
zipdata = None
# Optimization -- don't lock if the module has already been cached