applied fix from #11034 by @ubergeek42

This commit is contained in:
Brian Coca 2015-07-25 11:37:25 -04:00
parent 2afb7f717d
commit 1026e06e31

View file

@ -1115,7 +1115,7 @@ class Runner(object):
self.callbacks.on_failed(host, data, ignore_errors)
else:
if self.diff:
self.callbacks.on_file_diff(conn.host, result.diff)
self.callbacks.on_file_diff(host, result.diff)
self.callbacks.on_ok(host, data)
return result