mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add ellipsis to indicate YAML example is excerpt, not standalone
This commit is contained in:
parent
dc48d6879d
commit
6f9e2b9a63
1 changed files with 5 additions and 4 deletions
|
@ -82,10 +82,11 @@ In YAML:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
hosts:
|
...
|
||||||
jumper:
|
hosts:
|
||||||
ansible_port: 5555
|
jumper:
|
||||||
ansible_host: 192.0.2.50
|
ansible_port: 5555
|
||||||
|
ansible_host: 192.0.2.50
|
||||||
|
|
||||||
In the above example, trying to ansible against the host alias "jumper" (which may not even be a real hostname) will contact 192.0.2.50 on port 5555.
|
In the above example, trying to ansible against the host alias "jumper" (which may not even be a real hostname) will contact 192.0.2.50 on port 5555.
|
||||||
Note that this is using a feature of the inventory file to define some special variables.
|
Note that this is using a feature of the inventory file to define some special variables.
|
||||||
|
|
Loading…
Reference in a new issue