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:
parent
d647b0118d
commit
d99c58ee55
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue