summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2023-01-18 16:23:19 -0600
committerGitHub <noreply@github.com>2023-01-18 16:23:19 -0600
commit014a1a5715c8c70689657064865ac75dbf2b1617 (patch)
treed2c753e63d18e3ed2ca27afebd23335392f08414 /lib/ansible
parenta8642ef1b057b42220ca2689877ce871e835c5bf (diff)
downloadansible-014a1a5715c8c70689657064865ac75dbf2b1617.tar.gz
[stable-2.14] Ensure we are passing ciphers to all url_get calls (#79718) (#79727)
* Ensure we are passing ciphers to all url_get calls. Fixes #79717 * Add clog frag * Fix tests (cherry picked from commit 2143bcd) Co-authored-by: Matt Martz <matt@sivel.net>
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/modules/get_url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/get_url.py b/lib/ansible/modules/get_url.py
index 4cf2715986..eec24241d3 100644
--- a/lib/ansible/modules/get_url.py
+++ b/lib/ansible/modules/get_url.py
@@ -609,7 +609,7 @@ def main():
start = datetime.datetime.utcnow()
method = 'HEAD' if module.check_mode else 'GET'
tmpsrc, info = url_get(module, url, dest, use_proxy, last_mod_time, force, timeout, headers, tmp_dest, method,
- unredirected_headers=unredirected_headers, decompress=decompress, use_netrc=use_netrc)
+ unredirected_headers=unredirected_headers, decompress=decompress, ciphers=ciphers, use_netrc=use_netrc)
result['elapsed'] = (datetime.datetime.utcnow() - start).seconds
result['src'] = tmpsrc