ssl issues with hipchat module?

So here’s what I did. If I run it from source (source ansible/hacking/env-setup) it seems to work. However, I created an RPM for my RH5 boxes (don’t ask) and installed it across our web servers.

So this is an rpm of a source checkout? And you’re running it on rhel5. Did you also create a newer python package?

I dont know if this means anything but I am getting the following message when running “ansible --version”

ansible 1.9.2
configured module search path = None

Now when running my role, everything before it works (installing RPMs) but the hipchat part is throwing an error.

failed: [127.0.0.1 → 127.0.0.1] => {“failed”: true, “parsed”: false}
Traceback (most recent call last):
File “/home/deployment/.ansible/tmp/ansible-tmp-1437759950.33-224089137808292/hipchat”, line 1918, in ?
PROTOCOL = ssl.PROTOCOL_TLSv1
NameError: name ‘ssl’ is not defined

This should have been fixed (the throwing of a traceback) on Friday. Be sure your checkout is the very latest. However, if the ssl module is missing (for instance, when running on python2.4 which didn’t have the ssl module built-in to the stdlib) this may fail later with a message that the server’s certificates could not be verified. There is a python-ssl module which might be available via epel to fix that problem, though.

-Toshio