# Dynamic Inventory Using CSV of Excel File ...

**URL:** <https://forum.ansible.com/t/dynamic-inventory-using-csv-of-excel-file/26764>\
**Category:** Ansible Project\
**Created:** [February 16, 2018, 2:17pm UTC](https://forum.ansible.com/t/dynamic-inventory-using-csv-of-excel-file/26764 "2018-02-16T14:17:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hemant\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@Hemant\_Kulkarni](https://forum.ansible.com/u/Hemant_Kulkarni)\
**Post date:** [February 16, 2018, 2:17pm UTC](https://forum.ansible.com/t/dynamic-inventory-using-csv-of-excel-file/26764/1 "2018-02-16T14:17:28Z")

</div>

Hello All,

is there any way so that I can use CSV or excel file as Dynamic Inventory in Ansiable … if yes can you please let me know how I do that …

Regards…HeM

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [February 19, 2018, 4:30pm UTC](https://forum.ansible.com/t/dynamic-inventory-using-csv-of-excel-file/26764/2 "2018-02-19T16:30:39Z")

</div>

There are many different scripts here  
[https://github.com/ansible/ansible/tree/devel/contrib/inventory](https://github.com/ansible/ansible/tree/devel/contrib/inventory)

but I don't think it's one for csv so you would need to write one.
