summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Heinrich <59469646+JensHeinrich@users.noreply.github.com>2021-03-11 20:36:00 +0100
committerGitHub <noreply@github.com>2021-03-11 20:36:00 +0100
commit27eaab310beff3f22ad56f3a8524e9e18dba63e8 (patch)
tree13871973584a277f9059617e339fd98f3212bbf8
parentDocs: Updates the release and maintenance page to reflect new cadences (#73781) (diff)
downloadansible-27eaab310beff3f22ad56f3a8524e9e18dba63e8.tar.xz
ansible-27eaab310beff3f22ad56f3a8524e9e18dba63e8.zip
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>
-rw-r--r--docs/docsite/rst/user_guide/intro_inventory.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docsite/rst/user_guide/intro_inventory.rst b/docs/docsite/rst/user_guide/intro_inventory.rst
index 8b94d072a4..6caa1db3f8 100644
--- a/docs/docsite/rst/user_guide/intro_inventory.rst
+++ b/docs/docsite/rst/user_guide/intro_inventory.rst
@@ -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