IP匹配
salt -S ‘192.168.0.163’ test.ping
grains匹配
salt -G ‘OS:Centos’ test.ping
混合匹配
salt -C ‘S@192.168.0.163 and G@os:Centos’ test.ping
转载于:https://blog.51cto.com/13491150/2048360
IP匹配
salt -S ‘192.168.0.163’ test.ping
grains匹配
salt -G ‘OS:Centos’ test.ping
混合匹配
salt -C ‘S@192.168.0.163 and G@os:Centos’ test.ping
转载于:https://blog.51cto.com/13491150/2048360