perf: 优化 accounts

This commit is contained in:
ibuler
2022-07-15 18:03:32 +08:00
parent d3c67d2f04
commit 29c9c6d680
20 changed files with 118 additions and 310 deletions

View File

@@ -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: