|
|
|
@ -601,7 +601,7 @@ class Connection(ConnectionBase):
|
|
|
|
were added. It will be displayed with a high enough verbosity.
|
|
|
|
were added. It will be displayed with a high enough verbosity.
|
|
|
|
.. note:: This function does its work via side-effect. The b_command list has the new arguments appended.
|
|
|
|
.. note:: This function does its work via side-effect. The b_command list has the new arguments appended.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
display.vvvvv(u'SSH: %s: (%s)' % (explanation, ')('.join(to_text(a) for a in b_args)), host=self._play_context.remote_addr)
|
|
|
|
display.vvvvv(u'SSH: %s: (%s)' % (explanation, ')('.join(to_text(a) for a in b_args)), host=self.host)
|
|
|
|
b_command += b_args
|
|
|
|
b_command += b_args
|
|
|
|
|
|
|
|
|
|
|
|
def _build_command(self, binary, subsystem, *other_args):
|
|
|
|
def _build_command(self, binary, subsystem, *other_args):
|
|
|
|
@ -1232,7 +1232,7 @@ class Connection(ConnectionBase):
|
|
|
|
|
|
|
|
|
|
|
|
super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
|
|
|
|
super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
|
|
|
|
|
|
|
|
|
|
|
|
display.vvv(u"ESTABLISH SSH CONNECTION FOR USER: {0}".format(self.user), host=self._play_context.remote_addr)
|
|
|
|
display.vvv(u"ESTABLISH SSH CONNECTION FOR USER: {0}".format(self.user), host=self.host)
|
|
|
|
|
|
|
|
|
|
|
|
if getattr(self._shell, "_IS_WINDOWS", False):
|
|
|
|
if getattr(self._shell, "_IS_WINDOWS", False):
|
|
|
|
# Become method 'runas' is done in the wrapper that is executed,
|
|
|
|
# Become method 'runas' is done in the wrapper that is executed,
|
|
|
|
|