Mention how to load a specific inventory file (#17348)

I had to do a silly amount of searching and reading man pages before I found this vital info - it really should be on this page!
This commit is contained in:
Marcus Bointon 2016-09-01 19:01:15 +02:00 committed by Matt Davis
parent d647b0118d
commit d99c58ee55

View file

@ -8,7 +8,8 @@ Inventory
Ansible works against multiple systems in your infrastructure at the
same time. It does this by selecting portions of systems listed in
Ansible's inventory file, which defaults to being saved in
the location ``/etc/ansible/hosts``.
the location ``/etc/ansible/hosts``. You can specify a different inventory file using the
``-i <path>`` option on the command line.
Not only is this inventory configurable, but you can also use
multiple inventory files at the same time (explained below) and also