mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Make sure the accelerated port is set to a sane value
This commit is contained in:
parent
cc21e5c90c
commit
fff497a1ae
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ class Connection(object):
|
||||||
private_key_file=private_key_file
|
private_key_file=private_key_file
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not self.accport:
|
||||||
|
self.accport = constants.ACCELERATE_PORT
|
||||||
|
|
||||||
# attempt to work around shared-memory funness
|
# attempt to work around shared-memory funness
|
||||||
if getattr(self.runner, 'aes_keys', None):
|
if getattr(self.runner, 'aes_keys', None):
|
||||||
utils.AES_KEYS = self.runner.aes_keys
|
utils.AES_KEYS = self.runner.aes_keys
|
||||||
|
|
Loading…
Reference in a new issue