httplib2 and uri

I am trying to figure out what is wrong with either my playbook, python installation or both.

Both hosts are running CentOS 6.
Python: python.x86_64
2.6.6-52.el6
Ansible 1.9.4 is installed on the control host.

The data being returned is:

OK54Web Server is healthy2.0.5-dDatabaseHealthCheckTaskOK1Database at is healthy. RiakOK52Riak at riakhost:8087 is healthy.

I am looking for the string “Web Server is healthy”

The JSON is:

OK 54 Web Server is healthy 2.0.5-d DatabaseHealthCheckTask OK 1 Database at @somehost Riak OK 52 Riak at somehost:8087 is …

I have the following playbook that is intended to connect and pull some data about what the server is doing:

I don't see anything wrong with your playbook. The error your getting
means that for some reason ansible isn't finding your httplib2
installed on the remote machine(s) (Would be multiple machines if web
is a group rather than a single host).

Judging from your description so far, do you have everything installed
from one of CentOS or EPEL repositories? On the remote machine, what
httplib2 is installed? (For instance, what does this ansible command
show: ansible web -m command -a 'rpm -q python-httplib2'

-Toshio