1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 Ansible works against multiple systems in your infrastructure at the
same time. It does this by selecting portions of systems listed in same time. It does this by selecting portions of systems listed in
Ansible's inventory file, which defaults to being saved 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 Not only is this inventory configurable, but you can also use
multiple inventory files at the same time (explained below) and also multiple inventory files at the same time (explained below) and also