mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21: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
|
@ -1108,7 +1108,7 @@ class Connection(ConnectionBase):
|
|||
stdout, stderr = p.communicate()
|
||||
status_code = p.wait()
|
||||
if status_code != 0:
|
||||
raise AnsibleError("Cannot reset connection:\n%s" % stderr)
|
||||
display.warning("Failed to reset connection:%s" % stderr)
|
||||
|
||||
self.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue