Skip to content

Commit c5737bb

Browse files
authored
Merge pull request #7 from yuriescl/documentation
updated README
2 parents 1dac98c + 783a045 commit c5737bb

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff 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
```
6363
runoverssh 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
```
6867
runoverssh --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
```
7371
runoverssh -q -g -r puppet-nodes root "puppet agent -t"
7472
```
75-
76-
#### Check git status on devmachine
73+
Check git status on devmachine
7774
```
7875
runoverssh 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
```
8379
runoverssh -g --script backup.sh --hostsfile hostlist remoteuser
8480
```

0 commit comments

Comments
 (0)