From f5fd674f089cb2b5fb300a95dc88544d11ba635e Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 28 Oct 2022 19:10:19 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BF=AE=E6=94=B9=20v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/ansible/inventory.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/ops/ansible/inventory.py b/apps/ops/ansible/inventory.py index aee85face..739d84aff 100644 --- a/apps/ops/ansible/inventory.py +++ b/apps/ops/ansible/inventory.py @@ -63,7 +63,6 @@ class JMSInventory: var = { 'ansible_user': account.username, } - if not account.secret: return var if account.secret_type == 'password':