Skip to content

Commit

Permalink
Merge pull request #1114 from akira6592/fix-ellipsis
Browse files Browse the repository at this point in the history
Commented out ellipsis in YAML inventory samples

(cherry picked from commit 5a1806b)
  • Loading branch information
oraNod authored and patchback[bot] committed Feb 21, 2024
1 parent 78cf9ba commit 40de15f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/docsite/rst/inventory_guide/intro_inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Ansible :ref:`inventory_plugins` supports a range of formats and sources to make
.. contents::
:local:

.. note:: The following YAML snippets include an ellipsis to indicate they are part of a larger YAML file. You can find out more about YAML syntax at `YAML Basics <https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html#yaml-basics">`_.

.. _inventoryformat:

Inventory basics: formats, hosts, and groups
Expand Down Expand Up @@ -185,7 +187,7 @@ In YAML:

.. code-block:: yaml
...
# ...
webservers:
hosts:
www[01:50].example.com:
Expand All @@ -203,7 +205,7 @@ In YAML:

.. code-block:: yaml
...
# ...
webservers:
hosts:
www[01:50:2].example.com:
Expand Down Expand Up @@ -349,7 +351,7 @@ In YAML:

.. code-block:: yaml
...
# ...
hosts:
jumper:
ansible_port: 5555
Expand Down

0 comments on commit 40de15f

Please sign in to comment.