docs: def _task_to_text(self, task):
          """ Return a standard formatting of a Task serialization. """
  
          started = self._format_date(task.get('started_at', None))
          completed = self._format_date(task.get('completed_at', None))
  
          success = task.get('success', None)
          success_lu = {None: 'Not executed', True: 'Success',
                        False: 'Failed'}
  
          run_log = task.get('run_log', {})
          return '\n'.join(['Task: %s' % task.get('name', None),
                            'Command: %s' % task.get('command', None),
                            'Result: %s' % success_lu[success],
                            'Started at: %s' % started,
                            'Completed at: %s' % completed,
                            'Return Code: %s' % run_log.get('return_code', None),
                            'Stdout: %s' % run_log.get('stdout', None),
                            'Stderr: %s' % run_log.get('stderr', None)])