mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix ssh pipelining
This commit is contained in:
@@ -42,13 +42,13 @@ from ansible.utils.debug import debug
|
|||||||
class Connection(ConnectionBase):
|
class Connection(ConnectionBase):
|
||||||
''' ssh based connections '''
|
''' ssh based connections '''
|
||||||
|
|
||||||
|
has_pipelining = True
|
||||||
become_methods = frozenset(C.BECOME_METHODS).difference(['runas'])
|
become_methods = frozenset(C.BECOME_METHODS).difference(['runas'])
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
# SSH connection specific init stuff
|
# SSH connection specific init stuff
|
||||||
self._common_args = []
|
self._common_args = []
|
||||||
self.HASHED_KEY_MAGIC = "|1|"
|
self.HASHED_KEY_MAGIC = "|1|"
|
||||||
self._has_pipelining = True
|
|
||||||
|
|
||||||
# FIXME: move the lockfile locations to ActionBase?
|
# FIXME: move the lockfile locations to ActionBase?
|
||||||
#fcntl.lockf(self.runner.process_lockfile, fcntl.LOCK_EX)
|
#fcntl.lockf(self.runner.process_lockfile, fcntl.LOCK_EX)
|
||||||
|
|||||||
Reference in New Issue
Block a user