mssh
Simple and powerful job executor on remote nodes
Here is a sample configuration file. I think you don't need a description for it.
#
# saved as awesome.yaml
#
groups:
- name: my-instances
nodes:
- host: dummy.instance0.com
- host: dummy.instance1.com
- host: dummy.instance2.com
jobs:
- name: my-awesome-job
commands:
- echo "This is an awesome execution! :)"
For the execution
./bin/mssh -c awesome.yaml -j my-awesome-job -g my-instances
The configuration structure is very flexible.
You can see other sample on spec/conf.
Installation
This tool requires libssh2
. For mac users, you're just needed to do
brew install libssh2
After that, build this project.
shards build
Usage
Documentation is not ready.
I'll write them up as soon as possible.
Development
See the issues. Or you can open new issues on it.
Contributing
- Fork it (https://github.com/tbrand/mssh/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- tbrand Taichiro Suzuki - creator, maintainer