summaryrefslogtreecommitdiffstats
path: root/callback_plugins
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-07-03 22:45:59 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2013-07-03 23:04:46 -0400
commit97a906435ad6d33fe6d2c169587f34082a245214 (patch)
treee768c8ae26b458c5ae1c223c779aa38b9881f14e /callback_plugins
parent8dc05c6294fa7d3bb94dd11b11c1a9fc2ef09c3d (diff)
downloadansible-97a906435ad6d33fe6d2c169587f34082a245214.tar.gz
ansible-97a906435ad6d33fe6d2c169587f34082a245214.tar.xz
ansible-97a906435ad6d33fe6d2c169587f34082a245214.zip
add task_userid to any task not just ansible_cmd
Diffstat (limited to 'callback_plugins')
-rw-r--r--callback_plugins/logdetail.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py
index 602597798..3f0866735 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):