Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.1 KB

README.rst

File metadata and controls

51 lines (33 loc) · 1.1 KB
Documentation test_nornir_utils

nornir_utils

Collection of simple plugins for nornir

Installation

pip install nornir_utils

Plugins

Inventory

  • YAMLInventory - Create an inventory from yaml files

Functions

  • print_result - Formats nicely and prints results on stdout.
  • print_title - Formats nicely a title and prints it on stdout.

Processors

  • PrintResult - Formats nicely and prints results on stdout as soon as they are made available.

Tasks

Data:

  • echo_data - Dummy task that echoes the data passed to it.
  • load_json - Load a JSON file.
  • load_yaml - Load a YAML file.

Files:

  • write_file - Writes content to files