def failed_hosts(self):
        """Hosts that failed during the execution of the task."""
        return {h: r for h, r in self.items() if r.failed}
def failed_hosts ( self ) : return { h : r for h , r in self . items ( ) if r . failed }
Hosts that failed during the execution of the task.