Merge pull request #9697 from jumpserver/pr@dev@fix_oracle_ping

fix: 解决Oracle验证账号任务失败问题
pull/9701/head
老广 2 years ago committed by GitHub
commit 8db3543e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,9 +57,9 @@ class VerifyAccountManager(AccountBasePlaybookManager):
'secret': secret,
'private_key_path': private_key_path
}
if account.platform.type == 'oracle':
h['account']['mode'] = 'sysdba' if account.privileged else None
inventory_hosts.append(h)
# print("Host: ")
# print(self.json_dumps(inventory_hosts))
return inventory_hosts
@classmethod

Loading…
Cancel
Save