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

**URL:** <https://forum.ansible.com/t/how-to-run-a-database-file-sql-using-ansible-without-shell-commands/28123>\
**Category:** AWX Project\
**Created:** [July 23, 2018, 8:49am UTC](https://forum.ansible.com/t/how-to-run-a-database-file-sql-using-ansible-without-shell-commands/28123 "2018-07-23T08:49:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fadi\_H](https://avatars.discourse-cdn.com/v4/letter/f/aeb1de/32.png) [@Fadi\_H](https://forum.ansible.com/u/Fadi_H)\
**Post date:** [July 23, 2018, 8:49am UTC](https://forum.ansible.com/t/how-to-run-a-database-file-sql-using-ansible-without-shell-commands/28123/1 "2018-07-23T08:49:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [August 1, 2018, 6:36pm UTC](https://forum.ansible.com/t/how-to-run-a-database-file-sql-using-ansible-without-shell-commands/28123/2 "2018-08-01T18:36:02Z")

</div>

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