mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
* aws_s3: do not decrypt file before uploading to bucket * changelog
This commit is contained in:
parent
0512e9656b
commit
387c37e255
2 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,7 @@ class ActionModule(ActionBase):
|
|||
# For backward compatibility check if the file exists on the remote; it should take precedence
|
||||
if not self._remote_file_exists(source):
|
||||
try:
|
||||
source = self._loader.get_real_file(self._find_needle('files', source))
|
||||
source = self._loader.get_real_file(self._find_needle('files', source), decrypt=False)
|
||||
new_module_args['src'] = source
|
||||
except AnsibleFileNotFound as e:
|
||||
# module handles error message for nonexistent files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue