From 54440a30c02104071216a957244334913b33fbb7 Mon Sep 17 00:00:00 2001 From: nikut Date: Tue, 26 Apr 2016 18:18:06 +0300 Subject: [PATCH] doc fix for delegate_to / ansible_host (issue #15546) (#15605) --- docsite/rst/playbooks_delegation.rst | 2 ++ docsite/rst/playbooks_variables.rst | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/playbooks_delegation.rst b/docsite/rst/playbooks_delegation.rst index eb3c33d60df..0d89b508617 100644 --- a/docsite/rst/playbooks_delegation.rst +++ b/docsite/rst/playbooks_delegation.rst @@ -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 diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index e8c10b68052..5c5cad0ca93 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -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.