[Update] 禁用ansible连接复用

pull/3803/head
ibuler 5 years ago
parent b25096925b
commit 064cb16d25

@ -132,6 +132,9 @@ class AdHocResultCallback(CallbackMixin, CallbackModule, CMDCallBackModule):
def display_failed_stderr(self):
pass
def set_play_context(self, context):
context.ssh_args = '-C -o ControlMaster=no'
class CommandResultCallback(AdHocResultCallback):
"""

Loading…
Cancel
Save