functions

nornir_utils.plugins.functions.print_result(result: Result, vars: Optional[List[str]] = None, failed: bool = False, severity_level: int = 20) None

Prints an object of type nornir.core.task.Result

Parameters:
  • result – from a previous task

  • vars – Which attributes you want to print

  • failed – if True assume the task failed

  • severity_level – Print only errors with this severity level or higher

nornir_utils.plugins.functions.print_title(title: str) None

Helper function to print a title.