Quantcast
Channel: OpenKB::Open Access Technical Information
Viewing all articles
Browse latest Browse all 157

Ansible attribute HTTPSHandler failure

$
0
0

File \”/tmp/ansible_PzNRht/ansible_modlib.zip/ansible/module_utils/urls.py\”, line 340, in <module>\r\nAttributeError: ‘module’ object has no attribute ‘HTTPSHandler’\r\n”, “msg”: “MODULE FAILURE”, “r

 

This is due to Python being unable to import the ssl module. To see the actual error, you will need to log into the server and try to import ssl .

 

Python<version>

import ssl

File “/usr/local/lib/python2.7/ssl.py”, line 60, in <module>
import _ssl # if we can’t import it, let the error propagate
ImportError: No module named _ssl

 

in this case can refer to https://www.openkb.org/importerror-no-module-named-_ssl/  

Github Reference

The post Ansible attribute HTTPSHandler failure appeared first on OpenKB::Server Technical Papers.


Viewing all articles
Browse latest Browse all 157

Trending Articles