mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Don't force accelerate connection for local actions.
This commit is contained in:
@@ -186,8 +186,8 @@ class Runner(object):
|
||||
self.accelerate_port = accelerate_port
|
||||
self.callbacks.runner = self
|
||||
|
||||
if self.accelerate:
|
||||
# if we're using accelerated mode, force the local
|
||||
if self.accelerate and self.transport != 'local':
|
||||
# if we're using accelerated mode, force the
|
||||
# transport to accelerate
|
||||
self.transport = "accelerate"
|
||||
if not self.accelerate_port:
|
||||
|
||||
Reference in New Issue
Block a user