mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-13 06:38:31 +00:00
perf: 优化 accounts
This commit is contained in:
@@ -25,7 +25,7 @@ def check_asset_can_run_ansible(asset):
|
||||
|
||||
|
||||
def check_system_user_can_run_ansible(system_user):
|
||||
if not system_user.auto_push:
|
||||
if not system_user.auto_push_account:
|
||||
logger.warn(f'Push system user task skip, auto push not enable: system_user={system_user.name}')
|
||||
return False
|
||||
if not system_user.is_protocol_support_push:
|
||||
|
||||
Reference in New Issue
Block a user