diff --git a/apps/accounts/automations/verify_account/manager.py b/apps/accounts/automations/verify_account/manager.py index 3d07a95da..bf43eff46 100644 --- a/apps/accounts/automations/verify_account/manager.py +++ b/apps/accounts/automations/verify_account/manager.py @@ -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