mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
Winrm fixes for devel
* Include fixes for winrm connection plugin from v1 code * Fixing shell plugin use
This commit is contained in:
parent
2a8ab4ab3e
commit
2a5fbd8570
4 changed files with 40 additions and 30 deletions
|
@ -47,7 +47,6 @@ from ansible.plugins import shell_loader
|
|||
from ansible.utils.path import makedirs_safe
|
||||
from ansible.utils.unicode import to_bytes
|
||||
|
||||
|
||||
class Connection(ConnectionBase):
|
||||
'''WinRM connections over HTTP/HTTPS.'''
|
||||
|
||||
|
@ -63,8 +62,7 @@ class Connection(ConnectionBase):
|
|||
self.protocol = None
|
||||
self.shell_id = None
|
||||
self.delegate = None
|
||||
|
||||
self._shell = shell_loader.get('powershell')
|
||||
self._shell_type = 'powershell'
|
||||
|
||||
# TODO: Add runas support
|
||||
self.become_methods_supported=[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue