I have this task to make the connection, but it is not created...
- name: Create Oracle database
uri:
url: http://{{ metabase_server }}/api/database
method: POST
headers:
Content-Type: "application/json"
X-Metabase-Session: "{{ login_id }}"
body_format: json
body:
{
"name": "oracle",
"engine": "oracle",
"details":{
"host": 172.23.10.104,
"port": 1521,
"ORACLE_SERVICE_NAME":"",
"ORACLE_SID":"ORCL",
"ORACLE_CHARACTERSET":"AL32UTF8",
"user": "",
"ORACLE_PWD": "oracle"
}
}
Can someone tell me where the problem is?