Correct location of ansible log file
The ansible output file will be under UUID/work/logs directory.
Change-Id: Ia2d86e5ad8d9984a9c9ef378a9cfb941a96546f4
diff --git a/zuul/lib/log_streamer.py b/zuul/lib/log_streamer.py
index e00a89b..59d5240 100644
--- a/zuul/lib/log_streamer.py
+++ b/zuul/lib/log_streamer.py
@@ -95,7 +95,7 @@
return
# check if log file exists
- log_file = os.path.join(job_dir, 'ansible', 'job-output.txt')
+ log_file = os.path.join(job_dir, 'work', 'logs', 'job-output.txt')
if not os.path.exists(log_file):
msg = 'Log not found for build ID %s' % build_uuid
self.request.sendall(msg.encode("utf-8"))