From 697a1a406122fa7d932146b0d32159ad363cf245 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 2 Jun 2015 14:01:11 -0500 Subject: [PATCH] Don't override ansible_ssh_host with inventory_hostname --- lib/ansible/executor/task_executor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/executor/task_executor.py b/lib/ansible/executor/task_executor.py index 9bc875b02a4..5c6fc862a03 100644 --- a/lib/ansible/executor/task_executor.py +++ b/lib/ansible/executor/task_executor.py @@ -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)