|
|
|
@ -628,7 +628,9 @@ class Runner(object):
|
|
|
|
all_failed = False
|
|
|
|
all_failed = False
|
|
|
|
results = []
|
|
|
|
results = []
|
|
|
|
for x in items:
|
|
|
|
for x in items:
|
|
|
|
inject['item'] = x
|
|
|
|
# use a fresh inject for each item
|
|
|
|
|
|
|
|
this_inject = inject.copy()
|
|
|
|
|
|
|
|
this_inject['item'] = x
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: this idiom should be replaced with an up-conversion to a Jinja2 template evaluation
|
|
|
|
# TODO: this idiom should be replaced with an up-conversion to a Jinja2 template evaluation
|
|
|
|
if isinstance(self.complex_args, basestring):
|
|
|
|
if isinstance(self.complex_args, basestring):
|
|
|
|
@ -640,7 +642,7 @@ class Runner(object):
|
|
|
|
host,
|
|
|
|
host,
|
|
|
|
self.module_name,
|
|
|
|
self.module_name,
|
|
|
|
self.module_args,
|
|
|
|
self.module_args,
|
|
|
|
inject,
|
|
|
|
this_inject,
|
|
|
|
port,
|
|
|
|
port,
|
|
|
|
complex_args=complex_args
|
|
|
|
complex_args=complex_args
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|