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: