Fix on_unreachable invocation with non-existing variable
This commit is contained in:
parent
1244054dfb
commit
2371bf9aaf
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ class Runner(object):
|
||||||
|
|
||||||
if not result.comm_ok:
|
if not result.comm_ok:
|
||||||
# connection or parsing errors...
|
# connection or parsing errors...
|
||||||
self.callbacks.on_unreachable(host, data)
|
self.callbacks.on_unreachable(host, result.result)
|
||||||
else:
|
else:
|
||||||
data = result.result
|
data = result.result
|
||||||
if 'skipped' in data:
|
if 'skipped' in data:
|
||||||
|
|
Loading…
Add table
Reference in a new issue