Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bolt shell command to start interactive shell on a target #3356

Open
jay7x opened this issue Nov 1, 2024 · 0 comments
Open

bolt shell command to start interactive shell on a target #3356

jay7x opened this issue Nov 1, 2024 · 0 comments
Labels
Feature New features and improvements.

Comments

@jay7x
Copy link
Contributor

jay7x commented Nov 1, 2024

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 jay7x added the Feature New features and improvements. label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New features and improvements.
Projects
None yet
Development

No branches or pull requests

1 participant