diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index b79a8f72cda..64e922aacf4 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -1081,7 +1081,8 @@ class Runner(object): result.result['invocation'] = dict( module_args=module_args, - module_name=module_name + module_name=module_name, + module_complex_args=complex_args, ) changed_when = self.module_vars.get('changed_when')