File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,27 +58,23 @@ See the `-g` flag.
5858```
5959
6060### Examples
61- #### Restart Apache webserver in two hosts
61+ Restart Apache webserver in two hosts
6262```
6363runoverssh root "systemctl restart apache2" webserver webserver2
6464```
65-
66- #### Reboot three hosts, which contain the same root password. Writes the SSH output to ` reboot.log ` .
65+ Reboot three hosts, which contain the same root password. Writes the SSH output to ` reboot.log ` .
6766```
6867runoverssh --logfile reboot.log --globalpw root "reboot" host1 host2 host3
6968```
70-
71- #### Run puppet agent in all nodes listed in ` puppet-nodes ` , supressing the output
69+ Run puppet agent in all nodes listed in ` puppet-nodes ` , supressing the output
7270```
7371runoverssh -q -g -r puppet-nodes root "puppet agent -t"
7472```
75-
76- #### Check git status on devmachine
73+ Check git status on devmachine
7774```
7875runoverssh remoteuser "cd git-project && git status" devmachine
7976```
80-
81- #### Run backup script in all hosts listed in a file
77+ Run backup script in all hosts listed in a file
8278```
8379runoverssh -g --script backup.sh --hostsfile hostlist remoteuser
8480```
You can’t perform that action at this time.
0 commit comments