perf: windows winrm使用ntlm认证

pull/10960/head
jiangweidong 2023-07-12 11:05:01 +08:00 committed by Bryan
parent dd5802316d
commit 68e2de81d8
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class JMSInventory:
ansible_config['ansible_winrm_server_cert_validation'] = 'ignore'
else:
ansible_config['ansible_winrm_scheme'] = 'http'
ansible_config['ansible_winrm_transport'] = 'plaintext'
ansible_config['ansible_winrm_transport'] = 'ntlm'
return ansible_config
def asset_to_host(self, asset, account, automation, protocols, platform):