mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fix ssh pipelining
This commit is contained in:
parent
ddec06ccfe
commit
91a4b866b0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue