mirror of https://github.com/jumpserver/jumpserver
commit
ac9a0c6d26
|
@ -132,6 +132,9 @@ class AdHocResultCallback(CallbackMixin, CallbackModule, CMDCallBackModule):
|
||||||
def display_failed_stderr(self):
|
def display_failed_stderr(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def set_play_context(self, context):
|
||||||
|
context.ssh_args = '-C -o ControlMaster=no'
|
||||||
|
|
||||||
|
|
||||||
class CommandResultCallback(AdHocResultCallback):
|
class CommandResultCallback(AdHocResultCallback):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue