How to run same script on multiples servers
I have some script that run some commands and send results to my email. I want to run same script on mulitiple servers. How can I do that. I know there is an option "ssh". But I'm not quite sure how to use it in the script.
And also. scripts has some parameters like following,
if [ -f "/some/some/some1"]: then
"/some/some/some1" will vary by the server.
Any body have an idea. Thanks