Fix on_unreachable invocation with non-existing variable

parent 1244054d
......@@ -671,7 +671,7 @@ class Runner(object):
if not result.comm_ok:
# connection or parsing errors...
self.callbacks.on_unreachable(host, data)
self.callbacks.on_unreachable(host, result.result)
else:
data = result.result
if 'skipped' in data:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment