Browse Source

perf: 使用winrm协议执行快捷命令

pull/12614/head
wangruidong 10 months ago committed by Bryan
parent
commit
78d0e3f485
  1. 1
      apps/ops/models/job.py

1
apps/ops/models/job.py

@ -67,6 +67,7 @@ class JMSPermedInventory(JMSInventory):
'postgresql': ['postgresql'],
'sqlserver': ['sqlserver'],
'ssh': ['shell', 'python', 'win_shell', 'raw'],
'winrm': ['win_shell'],
}
if self.module not in protocol_supported_modules_mapping.get(protocol.name, []):

Loading…
Cancel
Save