1
0
Fork 0
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:
James Cammarata 2013-09-04 15:49:53 -05:00
parent cc21e5c90c
commit fff497a1ae

View file

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