Text¶
-
nornir.plugins.functions.text.
print_result
(result: nornir.core.task.Result, host: Optional[str] = None, vars: List[str] = None, failed: bool = False, severity_level: int = 20) → None¶ Prints the
nornir.core.task.Result
from a previous task to screenParameters: - result – from a previous task
- host – # TODO
- 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.plugins.functions.text.
print_title
(title: str) → None¶ Helper function to print a title.