Merge pull request #11131 from sivel/issue/11130

Don't override ansible_ssh_host with inventory_hostname
This commit is contained in:
James Cammarata 2015-06-02 14:03:25 -05:00
commit 7a617e7b93

View file

@ -371,7 +371,6 @@ class TaskExecutor:
# FIXME: delegate_to calculation should be done here
# FIXME: calculation of connection params/auth stuff should be done here
self._connection_info.remote_addr = self._host.ipv4_address
if self._task.delegate_to is not None:
self._compute_delegate(variables)