loop - Always process the value using the templar
* When the loop value is a list, its items may be templates or structures which contain templates. Because of that, they need to go through the templar.
This commit is contained in:
parent
91ff8296d6
commit
cbe1bd65bf
1 changed files with 0 additions and 3 deletions
|
@ -276,9 +276,6 @@ class RcInstruction(abc.ABC):
|
|||
return rv
|
||||
|
||||
def evaluate_loop(self, host_name, variables):
|
||||
if isinstance(self._loop, list):
|
||||
return self._loop
|
||||
assert isinstance(self._loop, string_types)
|
||||
self._display.vvvvv(
|
||||
"host %s, action %s, evaluating loop template %s"
|
||||
% (host_name, self._action, repr(self._loop))
|
||||
|
|
Loading…
Reference in a new issue