bolt
bolt copied to clipboard
`bolt shell` command to start interactive shell on a target
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.