diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-10-22 18:03:35 +0200 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-10-22 18:03:35 +0200 |
commit | 75cff7129ca10548543926a7cab06e2700a72e77 (patch) | |
tree | 6c40ab429fc19b2ba1c5c456a98b471bcc34dec5 /lib | |
parent | Add parsing test to travis to catch that invocation is missing (diff) | |
download | ansible-75cff7129ca10548543926a7cab06e2700a72e77.tar.xz ansible-75cff7129ca10548543926a7cab06e2700a72e77.zip |
Fix for invocation not being added to output.
We want invocation to be omitted when we are running async, not when we
aren't running async.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/plugins/action/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py index 6e3cb6f3f8..6d83e5afd8 100644 --- a/lib/ansible/plugins/action/__init__.py +++ b/lib/ansible/plugins/action/__init__.py @@ -442,7 +442,7 @@ class ActionBase: data['stdout_lines'] = data.get('stdout', u'').splitlines() # store the module invocation details back into the result - if self._task.async != 0: + if self._task.async == 0: data['invocation'] = dict( module_args = module_args, module_name = module_name, |