Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/ansible/plugins/strategy/linear.py b/lib/ansible/plugins/strategy/linear.py
- index 9beba1f283..39c531be0d 100644
- --- a/lib/ansible/plugins/strategy/linear.py
- +++ b/lib/ansible/plugins/strategy/linear.py
- @@ -327,6 +327,13 @@ class StrategyModule(StrategyBase):
- new_ir = included_file._task.copy()
- new_ir.vars.update(included_file._args)
- + if templar.is_template(new_ir._role_name):
- + rtemplar = Templar(
- + loader=self._loader,
- + variables=included_file._args
- + )
- + new_ir._role_name = rtemplar.template(new_ir._role_name)
- +
- new_blocks, handler_blocks = new_ir.get_block_list(
- play=iterator._play,
- variable_manager=self._variable_manager,
Add Comment
Please, Sign In to add comment