Remove validate_certs parameter from fetch_url calls

This commit is contained in:
James Cammarata
2014-03-12 10:31:01 -05:00
parent a9017af2bb
commit d8a81c488e
6 changed files with 10 additions and 11 deletions

View File

@@ -140,7 +140,7 @@ def download_key(module, url):
if url is None:
module.fail_json(msg="needed a URL but was not specified")
try:
rsp, info = fetch_url(module, url, validate_certs=module.params['validate_certs'])
rsp, info = fetch_url(module, url)
return rsp.read()
except Exception:
module.fail_json(msg="error getting key id from url", traceback=format_exc())