Krikri::Lint::TaskWalker
Class methods
each_task(file : PositionedFile, &)
SourceYield one LintTask for every task found in a loaded file:
- tasks/handlers files: the root list (or a block)
- playbooks: plays' pre_tasks/tasks/post_tasks/handlers Recurses into block/rescue/always sublists. A root list of mappings is a playbook only when its entries are plays (they carry hosts/tasks sections).