-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
[PoC] Allow connection plugins to decline pipelining dynamically #78065
base: devel
Are you sure you want to change the base?
Conversation
We already have a class attribute We could disable pipelining dynamically by updating this attribute instead of creating a new check function, then just use this in the discovery code. |
@@ -398,6 +399,10 @@ | |||
SSHPASS_AVAILABLE = None | |||
SSH_DEBUG = re.compile(r'^debug\d+: .*') | |||
|
|||
tty_parser = argparse.ArgumentParser() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
he, i do love the use of argparse to deal with 'figuring out' the ssh args passed
+1
I was conflicted on whether or not to use that. I was operating off of the assumption that We can discuss this more. But I did overlook that line in interpreter discovery, so I could at minimum move the additional check there, and out of |
plugins that support toggle for 'pipelinging' now do it in config, should we integrate this into that? |
SUMMARY
Allow connection plugins to decline pipelining dynamically
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
Allows a plugin, regardless of the
pipelining
configuration, to decline the ability to use pipelining dynamically. Such as the event where-tt
or-o RequestTTY=force
is providing inansible_ssh_extra_args