mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Set the shell variable on the ssh connection type for accelerated mode
Fixes #8799
This commit is contained in:
parent
99ba9d6e24
commit
ab495d1916
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ class Connection(object):
|
|||
private_key_file=private_key_file
|
||||
)
|
||||
|
||||
if not getattr(self.ssh, 'shell', None):
|
||||
self.ssh.shell = utils.plugins.shell_loader.get('sh')
|
||||
|
||||
# attempt to work around shared-memory funness
|
||||
if getattr(self.runner, 'aes_keys', None):
|
||||
utils.AES_KEYS = self.runner.aes_keys
|
||||
|
|
Loading…
Reference in a new issue