mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00: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:
committed by
Matt Davis
parent
d647b0118d
commit
d99c58ee55
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user