summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Worrall <DazWorrall@users.noreply.github.com>2015-07-08 08:06:24 +0100
committerDarren Worrall <DazWorrall@users.noreply.github.com>2015-07-08 08:06:24 +0100
commit66b92df56879c896b455d48ec474f09ee19a42ac (patch)
tree48570e665816628bd3b5a43ae790cfa812895fd7
parentdef94da14a64080645c0ca9fc67686a20c7b5ed8 (diff)
downloadansible-66b92df56879c896b455d48ec474f09ee19a42ac.tar.gz
Add complex_args to logging callback data
Callback plugins don't get given any complex module arguments on task invocation, this fixes that.
-rw-r--r--lib/ansible/runner/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py
index b68928d4bb..4c20106e6a 100644
--- a/lib/ansible/runner/__init__.py
+++ b/lib/ansible/runner/__init__.py
@@ -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')