mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Improve the API for connection plugins and update local and ssh to use it
This commit is contained in:
@@ -374,8 +374,6 @@ class TaskExecutor:
|
||||
if not connection:
|
||||
raise AnsibleError("the connection plugin '%s' was not found" % conn_type)
|
||||
|
||||
connection.connect()
|
||||
|
||||
return connection
|
||||
|
||||
def _get_action_handler(self, connection):
|
||||
|
||||
Reference in New Issue
Block a user