diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py index 2e6808b4e6..d80ea76bf8 100644 --- a/lib/ansible/module_utils/urls.py +++ b/lib/ansible/module_utils/urls.py @@ -154,6 +154,7 @@ class SSLValidationHandler(urllib2.BaseHandler): try: cert_file = open(full_path, 'r') os.write(tmp_fd, cert_file.read()) + os.write(tmp_fd, '\n') cert_file.close() except: pass