mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Don't force accelerate connection for local actions.
This commit is contained in:
parent
f6e1bdabea
commit
68bffb1233
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue