/mssh

Simple and powerful job executor on remote nodes. :rocket:

Primary LanguageCrystalMIT LicenseMIT



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

  1. Fork it (https://github.com/tbrand/mssh/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • tbrand Taichiro Suzuki - creator, maintainer