mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 01:45:25 -07:00
Connection plugins no longer auto-connect (v2)
Also fixed a bug in ssh.py where an attribute was being inappropriately initialized in the _connect() method instead of __init__()
This commit is contained in:
parent
09605706d9
commit
3697d6582f
2 changed files with 1 additions and 3 deletions
|
@ -54,8 +54,6 @@ class ConnectionBase:
|
|||
if not hasattr(self, '_connected'):
|
||||
self._connected = False
|
||||
|
||||
self._connect()
|
||||
|
||||
def _become_method_supported(self, become_method):
|
||||
''' Checks if the current class supports this privilege escalation method '''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue