braintree / runbook

A framework for gradual system automation
MIT License
730 stars 43 forks source link

Is Local Command Execution supported? #52

Open neidiom opened 2 years ago

neidiom commented 2 years ago

In the docs everything is executed via Remote Command Execution/SSH but is there a way to do execution on the localhost?

pblesi commented 2 years ago

Yes. There are a few different ways to perform local command execution. The first is to set the target server for SSH command to be localhost/127.0.0.1. The second is to use the tmux_command to execute the command in a local tmux pane (See also Tmux Layouts. The third way is to use ruby_command to execute a command using custom Ruby.