Add newlines to parse error output
It's really ugly without them. Change-Id: I470baa113ec38919144121cdc8e68a2ae3a1744e
This commit is contained in:
parent
79739be229
commit
6515def66d
|
@ -1365,7 +1365,7 @@ class AnsibleJob(object):
|
||||||
job_output.write("{now} | ANSIBLE PARSE ERROR\n".format(
|
job_output.write("{now} | ANSIBLE PARSE ERROR\n".format(
|
||||||
now=datetime.datetime.now()))
|
now=datetime.datetime.now()))
|
||||||
for line in syntax_buffer:
|
for line in syntax_buffer:
|
||||||
job_output.write("{now} | {line}".format(
|
job_output.write("{now} | {line}\n".format(
|
||||||
now=datetime.datetime.now(), line=line))
|
now=datetime.datetime.now(), line=line))
|
||||||
|
|
||||||
return (self.RESULT_NORMAL, ret)
|
return (self.RESULT_NORMAL, ret)
|
||||||
|
|
Loading…
Reference in New Issue