Merge "Ansible module fix: stream_url" into stable/queens

This commit is contained in:
Zuul 2019-05-22 00:01:20 +00:00 committed by Gerrit Code Review
commit 9138b7c0b8
2 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class StreamingDownloader(object):
else:
self.hasher = None
self.chunksize = chunksize
resp = requests.get(url, stream=True, verify=verify, certs=certs)
resp = requests.get(url, stream=True, verify=verify, cert=certs)
if resp.status_code != 200:
raise Exception('Invalid response code: %s' % resp.status_code)

View File

@ -0,0 +1,4 @@
---
fixes:
- Fixes an issue with the ansible deployment interface where raw images
could not be streamed correctly to the host.