From 77162e95e49f489a3a62bca68f5027cf8b18ba70 Mon Sep 17 00:00:00 2001 From: Jeroen Hoekx Date: Mon, 29 Oct 2012 09:45:44 +0100 Subject: [PATCH] Send a host to runner executor instead of a letter. Discovered in #1463 . --- lib/ansible/runner/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index c65b07937bb..510a4489cae 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -652,7 +652,7 @@ class Runner(object): # We aren't iterating over all the hosts in this # group. So, just pick the first host in our group to # construct the conn object with. - result_data = self._executor(hosts[0][1]).result + result_data = self._executor(hosts[0]).result # Create a ResultData item for each host in this group # using the returned result. If we didn't do this we would # get false reports of dark hosts.