Skip to content

Commit 5a1806b

Browse files
authored
Merge pull request #1114 from akira6592/fix-ellipsis
Commented out ellipsis in YAML inventory samples
2 parents f7471b4 + aa552a0 commit 5a1806b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/docsite/rst/inventory_guide/intro_inventory.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Ansible :ref:`inventory_plugins` supports a range of formats and sources to make
2020
.. contents::
2121
:local:
2222

23+
.. 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">`_.
24+
2325
.. _inventoryformat:
2426

2527
Inventory basics: formats, hosts, and groups
@@ -185,7 +187,7 @@ In YAML:
185187

186188
.. code-block:: yaml
187189
188-
...
190+
# ...
189191
webservers:
190192
hosts:
191193
www[01:50].example.com:
@@ -203,7 +205,7 @@ In YAML:
203205

204206
.. code-block:: yaml
205207
206-
...
208+
# ...
207209
webservers:
208210
hosts:
209211
www[01:50:2].example.com:
@@ -349,7 +351,7 @@ In YAML:
349351

350352
.. code-block:: yaml
351353
352-
...
354+
# ...
353355
hosts:
354356
jumper:
355357
ansible_port: 5555

0 commit comments

Comments
 (0)