display.vvv("ESTABLISH CONNECTION FOR USER: %s on PORT %s TO %s"%(self._play_context.remote_user,port,self._play_context.remote_addr),host=self._play_context.remote_addr)
@ -200,6 +180,31 @@ class Connection(ConnectionBase):
'Please upgrade to Paramiko 1.9.0 or newer. '
'Please upgrade to Paramiko 1.9.0 or newer. '
'Not using configured ProxyCommand')
'Not using configured ProxyCommand')
returnsock_kwarg
def_connect_uncached(self):
''' activates the connection object '''
ifnotHAVE_PARAMIKO:
raiseAnsibleError("paramiko is not installed")
port=self._play_context.portor22
display.vvv("ESTABLISH CONNECTION FOR USER: %s on PORT %s TO %s"%(self._play_context.remote_user,port,self._play_context.remote_addr),host=self._play_context.remote_addr)