doc fix for delegate_to / ansible_host (issue #15546) (#15605)

pull/15608/head
nikut 9 years ago committed by Brian Coca
parent 008bde91a8
commit 54440a30c0

@ -130,6 +130,8 @@ Here is an example::
Note that you must have passphrase-less SSH keys or an ssh-agent configured for this to work, otherwise rsync
will need to ask for a passphrase.
The `ansible_host` variable (`ansible_ssh_host` in 1.x) reflects the host a task is delegated to.
.. _delegate_facts:
Delegated facts

@ -668,8 +668,6 @@ period, without the rest of the domain.
``play_hosts`` is available as a list of hostnames that are in scope for the current play. This may be useful for filling out templates with multiple hostnames or for injecting the list into the rules for a load balancer.
``delegate_to`` is the inventory hostname of the host that the current task has been delegated to using ``delegate_to`` keyword.
Don't worry about any of this unless you think you need it. You'll know when you do.
Also available, ``inventory_dir`` is the pathname of the directory holding Ansible's inventory host file, ``inventory_file`` is the pathname and the filename pointing to the Ansible's inventory host file.

Loading…
Cancel
Save