Add complex_args to logging callback data

Callback plugins don't get given any complex module arguments on task invocation, this fixes that.
This commit is contained in:
Darren Worrall 2015-07-08 08:06:24 +01:00
parent def94da14a
commit 66b92df568

View file

@ -1078,7 +1078,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')