mirror of https://github.com/jumpserver/jumpserver
Merge pull request #9697 from jumpserver/pr@dev@fix_oracle_ping
fix: 解决Oracle验证账号任务失败问题pull/9701/head
commit
8db3543e98
|
@ -57,9 +57,9 @@ class VerifyAccountManager(AccountBasePlaybookManager):
|
||||||
'secret': secret,
|
'secret': secret,
|
||||||
'private_key_path': private_key_path
|
'private_key_path': private_key_path
|
||||||
}
|
}
|
||||||
|
if account.platform.type == 'oracle':
|
||||||
|
h['account']['mode'] = 'sysdba' if account.privileged else None
|
||||||
inventory_hosts.append(h)
|
inventory_hosts.append(h)
|
||||||
# print("Host: ")
|
|
||||||
# print(self.json_dumps(inventory_hosts))
|
|
||||||
return inventory_hosts
|
return inventory_hosts
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue