Don't override ansible_ssh_host with inventory_hostname

This commit is contained in:
Matt Martz 2015-06-02 14:01:11 -05:00
parent 620fad9f8d
commit 697a1a4061

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)