summaryrefslogtreecommitdiffstats
path: root/callback_plugins
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-06-28 22:34:25 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-06-28 22:34:25 +0000
commit1451fc3c61a1da09b8161922bda8e84716f6360c (patch)
treea2940713cfcd3b2183989943b8ac9525a468e0ff /callback_plugins
parent43b4b24c44bacfc70032f24beaee6c99716d5c41 (diff)
downloadansible-1451fc3c61a1da09b8161922bda8e84716f6360c.tar.gz
ansible-1451fc3c61a1da09b8161922bda8e84716f6360c.tar.xz
ansible-1451fc3c61a1da09b8161922bda8e84716f6360c.zip
data not res
Diffstat (limited to 'callback_plugins')
-rw-r--r--callback_plugins/logdetail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py
index 41d226ef9..ce55c2696 100644
--- a/callback_plugins/logdetail.py
+++ b/callback_plugins/logdetail.py
@@ -118,7 +118,7 @@ class LogMech(object):
data.update(self.task_to_json(task))
if self.playbook_id == 'ansible-cmd':
- res['task_userid'] = os.getlogin()
+ data['task_userid'] = os.getlogin()
if category == 'OK' and data.get('changed', False):
category = 'CHANGED'