|
|
@ -61,6 +61,7 @@ except ImportError:
|
|
|
|
class Connection(ConnectionBase):
|
|
|
|
class Connection(ConnectionBase):
|
|
|
|
'''WinRM connections over HTTP/HTTPS.'''
|
|
|
|
'''WinRM connections over HTTP/HTTPS.'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transport = 'winrm'
|
|
|
|
module_implementation_preferences = ('.ps1', '')
|
|
|
|
module_implementation_preferences = ('.ps1', '')
|
|
|
|
become_methods = []
|
|
|
|
become_methods = []
|
|
|
|
allow_executable = False
|
|
|
|
allow_executable = False
|
|
|
@ -77,11 +78,6 @@ class Connection(ConnectionBase):
|
|
|
|
|
|
|
|
|
|
|
|
super(Connection, self).__init__(*args, **kwargs)
|
|
|
|
super(Connection, self).__init__(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
|
|
|
def transport(self):
|
|
|
|
|
|
|
|
''' used to identify this connection object from other classes '''
|
|
|
|
|
|
|
|
return 'winrm'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def set_host_overrides(self, host):
|
|
|
|
def set_host_overrides(self, host):
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
Override WinRM-specific options from host variables.
|
|
|
|
Override WinRM-specific options from host variables.
|
|
|
|