书栈网 · BookStack 本次搜索耗时 0.028 秒,为您找到 125 个相关结果.
  • 主机清单

    661 2022-11-26 《Nornir 中文手册》
    主机清单 访问主机清单 继承模型 主机清单的过滤方法 高级过滤方法 过滤函数(filter functions) 过滤对象(filter object) 主机清单 主机清单(Inventory) 是 nornir 最重要的部分,它由 hosts、groups、defaults 三部分组成。它还支持多种插件,默认情况下使用 SimpleIn...
  • Advanced filtering

    Advanced filtering Advanced filtering In this tutorial we are going to see how to use the F object to do advanced filtering of hosts. Let’s start by initiating nornir and looki...
  • Adding a progress bar

    Adding a progress bar Adding a progress bar In this how to we want to show an example on how to integrate nornir with tqdm to add a nice way of tracking progress of our script...
  • 100% Python

    The need to know Python Python skills required The need to know Python In order to use Nornir you have to know some Python. This might come as wonderful news to you, or you mig...
  • Processing results

    Processing results The easy way The programmatic way Processing results In this tutorial we are going to see how we can process the results of running tasks. Let’s start with...
  • Tasks

    Tasks Grouping tasks [ 1 ]: # Initializing objects for later use from nornir import InitNornir from nornir_utils . plugins . functions import print_result nr ...
  • Tasks

    Tasks Grouping tasks [ 1 ]: # Initializing objects for later use from nornir import InitNornir from nornir_utils . plugins . functions import print_result nr ...
  • 处理任务结果

    397 2022-11-26 《Nornir 中文手册》
    处理任务结果 简单的任务处理方法 更详细的任务处理方法 处理任务结果 在这节中一起来看一下如何处理任务(Tasks)的运行结果。 先看下面的示例: [ 1 ]: import logging from nornir import InitNornir from nornir . core . task impor...
  • 配置参数详解

    527 2022-11-26 《Nornir 中文手册》
    配置参数详解 core raise_on_error runner plugin options inventory plugin options transform_function transform_function_options ssh config_file logging enabled level ...
  • 配置文件

    387 2022-11-26 《Nornir 中文手册》
    配置文件 配置文件 本节主要介绍如何加载 Nornir 的配置文件及各个配置项的详细信息。 配置加载方式 配置参数详解