Mark Goddard be4568334c Fix failure handling in prechecks
In a HAProxy precheck task, the command module is used, and the results
inspected by checking the stdout attribute of the result. However, if
the command fails (non-zero exit code), in some cases there may not be a
stdout attribute in the result object. This causes an AttributeError and
prevents ansible's useful diagnostic output from being displayed.

Change-Id: Id502b5d0b71fe2150a29df43154c925dca96ef06
Trivial Fix
2017-12-14 14:05:39 +00:00
..
2017-07-26 03:38:05 +00:00
2017-12-14 14:05:39 +00:00
2017-08-03 07:39:38 -07:00
2017-11-09 11:14:58 +00:00
2017-07-12 01:56:12 +00:00
2017-08-21 17:08:52 +01:00
2017-10-17 12:53:20 +00:00
2017-08-17 17:22:28 +02:00