Winrm fixes for devel

* Include fixes for winrm connection plugin from v1 code
* Fixing shell plugin use
This commit is contained in:
James Cammarata 2015-06-29 15:41:51 -04:00
commit 2a5fbd8570
4 changed files with 40 additions and 30 deletions

View file

@ -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=[]