骞没蕴 发表于 2018-8-1 11:35:33

使用Saltstack的ssh模块实现key的集中式管理 [salt.modules.ssh]

  Pass in an>grains, highstate, json, key, overstatestage, pprint, raw, txt, yaml  Some outputters are formatted only for data returned from specific functions; for instance, the grainsoutputter will not work for non-grains data.
  If an outputter is used that does not support the data passed into it, then Salt will fall back on the pprintoutputter and display the return data using the Python pprint standard library module.
  Note
  If using --out=json, you will probably want --static as well. Without the static option, you will get a JSON string for each minion. This is due to using an iterative outputter. So if you want to feed it to a JSON parser, use --static as well.

guoyu841020 发表于 2019-1-14 15:41:28

认真拜读

beson2000 发表于 2019-1-22 20:58:33

谢谢分享

lisimba 发表于 2019-2-5 08:59:44

多谢楼主分享,感谢......
页: [1]
查看完整版本: 使用Saltstack的ssh模块实现key的集中式管理 [salt.modules.ssh]