diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 6519adb3ee8..25a83d64a92 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -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: