README.md in rundock-0.4.16 vs README.md in rundock-0.5.0
- old
+ new
@@ -16,48 +16,48 @@
$ gem install rundock
```
## Usage
-Edit your hostgroup to "hostgroup.yml" like this sample.
+Edit your targetgroup to "targetgroup.yml" like this sample.
```
-# node section
-- node: 192.168.1.11
-- node: host-alias-01
+# target section
+- target: 192.168.1.11
+- target: host-alias-01
---
-# host information section
+# target information section
host-alias-01:
host: 192.168.1.12
ssh_opts:
port: 2222
user: anyuser
keys: ["~/.ssh/id_rsa_anyuser"]
```
and execute rundock.
- $ rundock ssh -g /path/to/your-dir/hostgroup.yml -c 'your-gread-command'
+ $ rundock ssh -g /path/to/your-dir/targetgroup.yml -c 'your-gread-command'
or
Edit your operation scenario to "[scenario.yml](https://github.com/hiracy/rundock/blob/master/scenario_sample.yml)" like this sample.
```
# scenario section
-- node: 192.168.1.11
+- target: 192.168.1.11
command:
- "sudo hostname new-host-01"
- "sudo sed -i -e 's/HOSTNAME=old-host-01/HOSTNAME=new-host-01/g' /etc/sysconfig/network"
-- node: host-alias-01
+- target: host-alias-01
command:
- "sudo yum -y install ruby"
task:
- update_gem
- install_bundler
---
-# host information section
+# target information section
host-alias-01:
host: 192.168.1.12
ssh_opts:
port: 2222
user: anyuser
@@ -78,20 +78,20 @@
$ rundock do /path/to/your-dir/scenario.yml
You can also specify [default_ssh_options.yml](https://github.com/hiracy/rundock/blob/master/default_ssh.yml) [(Net::SSH options)](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html) file contents that you specified "-d" option to the default ssh options.
```
-$ rundock ssh -g /path/to/your-dir/hostgroup.yml -c 'your-gread-command' -d /path/to/your-dir/default_ssh_options.yml
+$ rundock ssh -g /path/to/your-dir/targetgroup.yml -c 'your-gread-command' -d /path/to/your-dir/default_ssh_options.yml
```
```
-$ rundock do -s /path/to/your-dir/scenario.yml -d /path/to/your-dir/default_ssh_options.yml
+$ rundock do /path/to/your-dir/scenario.yml -d /path/to/your-dir/default_ssh_options.yml
```
For more detail. You can see from `rundock -h` command.
## Documentations
-Now on editing...
+- [Rundock Wiki](https://github.com/hiracy/rundock/wiki)
## Run tests
Requirements: Docker environments