perf: push account ssh (#9467)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-08 15:36:45 +08:00
committed by GitHub
parent 37f119260e
commit 5c1acae4c5
4 changed files with 79 additions and 22 deletions

View File

@@ -1,14 +1,14 @@
from copy import deepcopy
from common.utils import get_logger
from accounts.const import AutomationTypes, SecretType
from accounts.const import SecretType
from assets.automations.base.manager import BasePlaybookManager
from accounts.automations.methods import platform_automation_methods
logger = get_logger(__name__)
class PushOrVerifyHostCallbackMixin:
class VerifyHostCallbackMixin:
execution: callable
get_accounts: callable
host_account_mapper: dict