How to run a database file.sql using ansible without shell commands

I have created a vagrant file that copies a build with its database scripts inside the VM
i need to run an ansible code to run the database script which will call all other scrips on oracle database but i don’t want a shell command to run it.

Your question seems to be an Ansible core question. I’d try asking on the Ansible mailing list.