Fix ssh pipelining

pull/11662/head
James Cammarata 9 years ago
parent ddec06ccfe
commit 91a4b866b0

@ -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)

Loading…
Cancel
Save