# About Inventory

**URL:** <https://forum.ansible.com/t/about-inventory/21886>\
**Category:** Ansible Developer\
**Created:** [June 29, 2016, 8:58am UTC](https://forum.ansible.com/t/about-inventory/21886 "2016-06-29T08:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user12](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@user12](https://forum.ansible.com/u/user12)\
**Post date:** [June 29, 2016, 8:58am UTC](https://forum.ansible.com/t/about-inventory/21886/1 "2016-06-29T08:58:50Z")

</div>

I’am a beginning user of Ansible,One problem has been bothering me：  
whether all host must be add into a single file with “hosts”? if i have a lots of host,It will lead to very large files,How to divide into multiple files?

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [June 29, 2016, 9:48am UTC](https://forum.ansible.com/t/about-inventory/21886/2 "2016-06-29T09:48:36Z")

</div>

Just point your inventory (-i or in ansible.cfg) to a directory and combine multiple files in there.

---

<div class="post-metadata">

**Author:** ![user12](https://avatars.discourse-cdn.com/v4/letter/u/e0b2c6/32.png) [@user12](https://forum.ansible.com/u/user12)\
**Post date:** [June 29, 2016, 10:37am UTC](https://forum.ansible.com/t/about-inventory/21886/3 "2016-06-29T10:37:40Z")

</div>

I did it!!!  
Thanks very much!!!

在 2016年6月29日星期三 UTC+8下午5:48:58，Serge van Ginderachter写道：
