commit | 19ce0ffbfcd5e82173c8ba3eb0dc1dfbc092a534 | [log] [tgz] |
---|---|---|
author | Monty Taylor <mordred@inaugust.com> | Fri Jun 30 08:42:39 2017 -0500 |
committer | Monty Taylor <mordred@inaugust.com> | Fri Jun 30 12:35:43 2017 -0500 |
tree | 69a565c322b1a8925549c019f3675103afc8f783 | |
parent | a7cf5c518ada2fdc176eaa04ab85344beaa04daf [diff] |
Append ansible yaml parse errors to job log file If ansible can't parse the yaml, it dies immediately with return code 4. This happens before callback plugins, so nothing gets captured to the log. Save the first 200 lines in case there result is a syntax error. If we detect one, append directly to the job's log file. Change-Id: I059a61357c471f61485f141f92c35b2bcf2d168d