mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Send a host to runner executor instead of a letter.
Discovered in #1463 .
This commit is contained in:
parent
fb27cb45e1
commit
77162e95e4
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ class Runner(object):
|
||||||
# We aren't iterating over all the hosts in this
|
# We aren't iterating over all the hosts in this
|
||||||
# group. So, just pick the first host in our group to
|
# group. So, just pick the first host in our group to
|
||||||
# construct the conn object with.
|
# 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
|
# Create a ResultData item for each host in this group
|
||||||
# using the returned result. If we didn't do this we would
|
# using the returned result. If we didn't do this we would
|
||||||
# get false reports of dark hosts.
|
# get false reports of dark hosts.
|
||||||
|
|
Loading…
Reference in a new issue