[Update] 修改Permr认证

This commit is contained in:
ibuler
2018-04-10 20:29:06 +08:00
parent fffa0def9e
commit 84634eb8c0
18 changed files with 551 additions and 308 deletions

View File

@@ -276,7 +276,7 @@ def test_system_user_connectability_util(system_user, task_name):
:return:
"""
from ops.utils import update_or_create_ansible_task
assets = system_user.assets
assets = system_user.get_assets()
hosts = [asset.hostname for asset in assets if asset.is_active and asset.is_unixlike()]
tasks = const.TEST_SYSTEM_USER_CONN_TASKS
if not hosts: