mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
merge: with remote
This commit is contained in:
@@ -49,7 +49,7 @@ class DefaultCallback:
|
||||
}
|
||||
self.result['ok'][host][task] = detail
|
||||
|
||||
def runer_on_failed(self, event_data, host=None, task=None, res=None, **kwargs):
|
||||
def runner_on_failed(self, event_data, host=None, task=None, res=None, **kwargs):
|
||||
detail = {
|
||||
'action': event_data.get('task_action', ''),
|
||||
'res': res,
|
||||
|
||||
@@ -163,9 +163,9 @@ class JMSInventory:
|
||||
platform_assets = self.group_by_platform(self.assets)
|
||||
for platform, assets in platform_assets.items():
|
||||
automation = platform.automation
|
||||
protocols = platform.protocols.all()
|
||||
|
||||
for asset in assets:
|
||||
protocols = asset.protocols.all()
|
||||
account = self.select_account(asset)
|
||||
host = self.asset_to_host(asset, account, automation, protocols, platform)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user