def METHOD_NAME(self, event_data, host=None, task=None, res=None):
    detail = {
        'action': event_data.get('task_action', ''),
        'res': res,
        'rc': res.get('rc', 0),
        'stdout': res.get('stdout', ''),
    }
    self.result['ok'][host][task] = detail