mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-09 19:29:48 +00:00
perf: 优化winrm协议网域连接支持ssh_key
This commit is contained in:
@@ -100,7 +100,8 @@ class JMSInventory:
|
||||
if ansible_connection in ('local', 'winrm'):
|
||||
host['gateway'] = {
|
||||
'address': gateway.address, 'port': gateway.port,
|
||||
'username': gateway.username, 'secret': gateway.password
|
||||
'username': gateway.username, 'secret': gateway.password,
|
||||
'private_key_path': gateway.private_key_path
|
||||
}
|
||||
host['jms_asset']['port'] = port
|
||||
else:
|
||||
|
Reference in New Issue
Block a user