perf: 主机名包含/ 可以执行ansible任务 (#11772)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-10-09 16:05:42 +08:00
committed by GitHub
parent e00c804a5a
commit c981e9cd9f
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ class SecretGenerator:
@staticmethod
def generate_ssh_key():
private_key, public_key = ssh_key_gen()
private_key, __ = ssh_key_gen()
return private_key
def generate_password(self):