- class nornir.core.state.GlobalState(dry_run: bool = False, failed_hosts: Optional[Set[str]] = None)
This class is just a placeholder to share data amongst different versions of Nornir after running
Hosts that have failed to run a task properly
- dict() Dict[str, Any]
Return a dictionary representing the object.
- recover_host(host: str) None
hostfrom list of failed hosts.
- reset_failed_hosts() None
Reset failed hosts and make all hosts available for future tasks.