data not res

This commit is contained in:
Seth Vidal 2013-06-28 22:34:25 +00:00
parent 43b4b24c44
commit 1451fc3c61

View file

@ -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'