diff options
author | Matt Martz <matt@sivel.net> | 2023-01-18 16:23:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 16:23:19 -0600 |
commit | 014a1a5715c8c70689657064865ac75dbf2b1617 (patch) | |
tree | d2c753e63d18e3ed2ca27afebd23335392f08414 /lib/ansible | |
parent | a8642ef1b057b42220ca2689877ce871e835c5bf (diff) | |
download | ansible-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.py | 2 |
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 |