From 97a906435ad6d33fe6d2c169587f34082a245214 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 3 Jul 2013 22:45:59 -0400 Subject: [PATCH] add task_userid to any task not just ansible_cmd --- callback_plugins/logdetail.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index 6025977985..3f0866735d 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.py @@ -119,8 +119,6 @@ class LogMech(object): data['task_start'] = self._last_task_start data['task_end'] = time.time() data.update(self.task_to_json(task)) - - if self.playbook_id == 'ansible-cmd': data['task_userid'] = os.getlogin() if category == 'OK' and data.get('changed', False):