📜  nornir 配置文件 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:58.931000             🧑  作者: Mango

代码示例1
1 ---
 2 inventory:
 3     plugin: SimpleInventory
 4     options:
 5         host_file: "inventory/hosts.yaml"
 6         group_file: "inventory/groups.yaml"
 7         defaults_file: "inventory/defaults.yaml"
 8 runner:
 9     plugin: threaded
10     options:
11         num_workers: 100