2022-10-28 10:28:41 +00:00
|
|
|
from common.utils import get_logger
|
|
|
|
from assets.const import AutomationTypes
|
|
|
|
from ..base.manager import BasePlaybookManager, PushOrVerifyHostCallbackMixin
|
|
|
|
|
|
|
|
logger = get_logger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
class PushAccountManager(PushOrVerifyHostCallbackMixin, BasePlaybookManager):
|
2022-11-04 11:18:15 +00:00
|
|
|
need_privilege_account = True
|
2022-10-28 10:28:41 +00:00
|
|
|
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|
|
|
|
self.host_account_mapper = {}
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def method_type(cls):
|
|
|
|
return AutomationTypes.push_account
|