From 7dc938173ee7a269d5a32f05bf226b692870d8eb Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Tue, 20 Jun 2017 13:08:18 +0200 Subject: [PATCH] Fix typo in localhost check in zuul streamer There is a typo causing the match against localhost to fail potentionally. Change-Id: I9f8375a8dd306dbc7ac9019d227514d2f6ea3bd2 --- zuul/ansible/callback/zuul_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zuul/ansible/callback/zuul_stream.py b/zuul/ansible/callback/zuul_stream.py index 47e648e980..46156bf1d1 100644 --- a/zuul/ansible/callback/zuul_stream.py +++ b/zuul/ansible/callback/zuul_stream.py @@ -164,7 +164,7 @@ class CallbackModule(default.CallbackModule): hosts = self._get_task_hosts(task) for host in hosts: - if host in ('locahost', '127.0.0.1'): + if host in ('localhost', '127.0.0.1'): # Don't try to stream from localhost continue ip = play_vars[host].get(