Saltstack远程执行

远程测试minion节点是否存活:

[root@120-132-26-104 ~]# salt ‘*’ test.ping

远程执行命令 *指的是所有的主机,w指的是执行的命令 salt ‘*’ cmd.run ‘w’

This entry was posted in AutomaticOPS, Saltstack and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *