On Jul 24, 2015 10:51 AM, "Samnang Sen" <[email protected]> wrote:
>
> 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

>
> FATAL: all hosts have already failed -- aborting
>
> --
> You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d941886f-c643-43bb-8741-88f51d4c53a4%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAG9juEok0imadCxDatOXLrH_j1e5RGYsbKyMiRQ%3DxauF4Lwuyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to