mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Additionally template args in role_include that affect role loading (#33386)
This fixes many issues with role_include by correctly templating and saving fields which affect role loading in the args for the role include.
This commit is contained in:
parent
35acae7ea7
commit
52a8644a15
2 changed files with 12 additions and 1 deletions
|
@ -198,7 +198,7 @@ class StrategyModule(StrategyBase):
|
|||
new_ir = included_file._task.copy()
|
||||
new_ir.vars.update(included_file._args)
|
||||
|
||||
new_blocks, handler_blocks = new_ir.get_block_list(
|
||||
new_blocks, handler_blocks = included_file._task.get_block_list(
|
||||
play=iterator._play,
|
||||
variable_manager=self._variable_manager,
|
||||
loader=self._loader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue