mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
changed winrm _reset to reset and make ssh reset show warning (#42651)
* changed winrm _reset to reset and make ssh reset show warning * minor changelog update
This commit is contained in:
parent
a5fc9a17f0
commit
d723b8541d
6 changed files with 10 additions and 7 deletions
|
@ -483,7 +483,7 @@ class Connection(ConnectionBase):
|
|||
self._connected = True
|
||||
return self
|
||||
|
||||
def _reset(self): # used by win_reboot (and any other action that might need to bounce the state)
|
||||
def reset(self):
|
||||
self.protocol = None
|
||||
self.shell_id = None
|
||||
self._connect()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue