mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 19:32:55 +00:00
perf: 优化ansible_winrm执行超时时间
This commit is contained in:
parent
518ae3fa09
commit
786cb23f98
@ -152,6 +152,7 @@ class JMSInventory:
|
|||||||
else:
|
else:
|
||||||
ansible_config['ansible_winrm_scheme'] = 'http'
|
ansible_config['ansible_winrm_scheme'] = 'http'
|
||||||
ansible_config['ansible_winrm_transport'] = 'ntlm'
|
ansible_config['ansible_winrm_transport'] = 'ntlm'
|
||||||
|
ansible_config['ansible_winrm_connection_timeout'] = 120
|
||||||
return ansible_config
|
return ansible_config
|
||||||
|
|
||||||
def asset_to_host(self, asset, account, automation, protocols, platform):
|
def asset_to_host(self, asset, account, automation, protocols, platform):
|
||||||
|
Loading…
Reference in New Issue
Block a user