data not res
This commit is contained in:
parent
43b4b24c44
commit
1451fc3c61
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class LogMech(object):
|
||||||
data.update(self.task_to_json(task))
|
data.update(self.task_to_json(task))
|
||||||
|
|
||||||
if self.playbook_id == 'ansible-cmd':
|
if self.playbook_id == 'ansible-cmd':
|
||||||
res['task_userid'] = os.getlogin()
|
data['task_userid'] = os.getlogin()
|
||||||
|
|
||||||
if category == 'OK' and data.get('changed', False):
|
if category == 'OK' and data.get('changed', False):
|
||||||
category = 'CHANGED'
|
category = 'CHANGED'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue