打印当前服务器python下的redis版本

python -c 'import redis; print redis.VERSION'

 如果salt-master报错:

No minions matched the target. No command was sent, no jid was assigned.

salt-key -A 接受一下key 
salt '*' cmd.run 'hostname' #这里 salt '*' 俩单引号必须存在

 salt-minion下的配置文件 >  minion_id  这里记录了 minion的名字

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2021-06-09
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-22
  • 2021-11-11
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
相关资源
相似解决方案