mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
Improve the API for connection plugins and update local and ssh to use it
This commit is contained in:
parent
1f7d23fc18
commit
01df51d2ae
5 changed files with 126 additions and 72 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue