Add direct link to using multiple inventory sources (#73680)
This helps users to find the right ressources more easily and prevents them from clicking the first matching link only to be redirected to a subsection on the samepage from there Co-authored-by: Jens Heinrich <github.com/JensHeinrich>
This commit is contained in:
parent
474f46ea56
commit
27eaab310b
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ How to build your inventory
|
|||
|
||||
Ansible works against multiple managed nodes or "hosts" in your infrastructure at the same time, using a list or group of lists known as inventory. Once your inventory is defined, you use :ref:`patterns <intro_patterns>` to select the hosts or groups you want Ansible to run against.
|
||||
|
||||
The default location for inventory is a file called ``/etc/ansible/hosts``. You can specify a different inventory file at the command line using the ``-i <path>`` option. You can also use multiple inventory files at the same time, and/or pull inventory from dynamic or cloud sources or different formats (YAML, ini, and so on), as described in :ref:`intro_dynamic_inventory`.
|
||||
The default location for inventory is a file called ``/etc/ansible/hosts``. You can specify a different inventory file at the command line using the ``-i <path>`` option. You can also use multiple inventory files at the same time as described in :ref:`using_multiple_inventory_sources`, and/or pull inventory from dynamic or cloud sources or different formats (YAML, ini, and so on), as described in :ref:`intro_dynamic_inventory`.
|
||||
Introduced in version 2.4, Ansible has :ref:`inventory_plugins` to make this flexible and customizable.
|
||||
|
||||
.. contents::
|
||||
|
@ -220,7 +220,7 @@ In YAML:
|
|||
.. code-block:: yaml
|
||||
|
||||
atlanta:
|
||||
hosts:
|
||||
hosts:
|
||||
host1:
|
||||
http_port: 80
|
||||
maxRequestsPerChild: 808
|
||||
|
|
Loading…
Reference in a new issue