mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix on_unreachable invocation with non-existing variable
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user