mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
Adding a deprecation message for accelerated mode
This commit is contained in:
parent
a2c905c32e
commit
6f6456dff5
1 changed files with 2 additions and 0 deletions
|
@ -634,6 +634,8 @@ class TaskExecutor:
|
||||||
raise AnsibleError("the connection plugin '%s' was not found" % conn_type)
|
raise AnsibleError("the connection plugin '%s' was not found" % conn_type)
|
||||||
|
|
||||||
if self._play_context.accelerate:
|
if self._play_context.accelerate:
|
||||||
|
# accelerate is deprecated as of 2.1...
|
||||||
|
display.deprecated('Accelerated mode is deprecated. Consider using SSH with ControlPersist and pipelining enabled instead')
|
||||||
# launch the accelerated daemon here
|
# launch the accelerated daemon here
|
||||||
ssh_connection = connection
|
ssh_connection = connection
|
||||||
handler = self._shared_loader_obj.action_loader.get(
|
handler = self._shared_loader_obj.action_loader.get(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue