bolt icon indicating copy to clipboard operation
bolt copied to clipboard

`bolt shell` command to start interactive shell on a target

Open jay7x opened this issue 1 year ago • 0 comments

Use Case

When working with a target from a dynamic inventory, it's sometimes very tempting to use bolt to access interactive shell instead of looking the real machine name to connect to.

Describe the Solution You Would Like

It'd be nice to have bolt shell command to open interactive shell session with the target:

bolt shell --target foo

Describe Alternatives You've Considered

It's possible to write a script instead, that will parse bolt inventory --detal --target foo --format json output to get the URI, convert it to a ssh connection command and run it.

jay7x avatar Nov 01 '24 02:11 jay7x