Include external inventory file inside main Inventories hosts

30 views
Skip to first unread message

satheesh kumar

unread,
Apr 29, 2015, 7:11:56 PM4/29/15
to ansible...@googlegroups.com
Hi,

I Like to know whether there is a way to include external inventory file inside main Inventories/hosts, similar to we source external files in shell scripting?

Thanks in advance

Br, Satheesh

Brian Coca

unread,
Apr 29, 2015, 7:17:33 PM4/29/15
to ansible...@googlegroups.com
put them both in the same directory, point inventory at the directory,
both files will be used.


--
Brian Coca

satheesh kumar

unread,
Apr 29, 2015, 10:09:17 PM4/29/15
to ansible...@googlegroups.com
Thanks! it works
Reply all
Reply to author
Forward
0 new messages