mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-16 16:01:35 +00:00
fix: 华为交换机执行某些命令报错
This commit is contained in:
parent
46a23afbec
commit
5be399616b
@ -127,7 +127,7 @@ class JMSInventory:
|
||||
|
||||
if platform.is_huawei():
|
||||
host['ansible_connection'] = 'network_cli'
|
||||
host['ansible_network_os'] = 'asa'
|
||||
host['ansible_network_os'] = 'ce'
|
||||
|
||||
if gateway:
|
||||
ansible_connection = host.get('ansible_connection', 'ssh')
|
||||
|
Loading…
Reference in New Issue
Block a user