From 5be399616b0a353cd6cad4319eae6066c9cf6a41 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Fri, 26 Apr 2024 18:57:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=8E=E4=B8=BA=E4=BA=A4=E6=8D=A2?= =?UTF-8?q?=E6=9C=BA=E6=89=A7=E8=A1=8C=E6=9F=90=E4=BA=9B=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/ansible/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/ansible/inventory.py b/apps/ops/ansible/inventory.py index f969861cb..b9a559c08 100644 --- a/apps/ops/ansible/inventory.py +++ b/apps/ops/ansible/inventory.py @@ -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')