About Inventory

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?

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

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

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