Skip to content

Commit

Permalink
fix adding module_defaults to tasks (#239)
Browse files Browse the repository at this point in the history
Signed-off-by: Sumit Jaiswal <[email protected]>
  • Loading branch information
justjais authored Jun 13, 2024
1 parent 41e5f88 commit 4297d60
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ansible_risk_insight/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ def flatten_block_tasks(task_dict, module_defaults={}):
tasks_in_item = flatten_block_tasks(t_dict, _module_defaults)
tasks.extend(tasks_in_item)

if _module_defaults:
for i in range(len(tasks)):
tasks[i]["module_defaults"] = _module_defaults

return tasks


Expand Down

0 comments on commit 4297d60

Please sign in to comment.