Docs: ansible_host can contain FQDN (#71186)
This commit is contained in:
parent
3e4377300b
commit
13ab73cd89
1 changed files with 1 additions and 2 deletions
|
@ -268,8 +268,7 @@ In YAML:
|
|||
ansible_port: 5555
|
||||
ansible_host: 192.0.2.50
|
||||
|
||||
In the above example, running Ansible against the host alias "jumper" will connect to 192.0.2.50 on port 5555.
|
||||
This only works for hosts with static IPs, or when you are connecting through tunnels.
|
||||
In the above example, running Ansible against the host alias "jumper" will connect to 192.0.2.50 on port 5555. See :ref:`behavioral inventory parameters <behavioral_parameters>` to further customize the connection to hosts.
|
||||
|
||||
.. note::
|
||||
Values passed in the INI format using the ``key=value`` syntax are interpreted differently depending on where they are declared:
|
||||
|
|
Loading…
Reference in a new issue