I have to do some benchmarks and loop over 10 commands 3 times (run all 10x3, not the firstx3 then the secondx3 - so run all 10x3). The 10 commands I extract from a file in
In addition to existing answers : instead of copy-pasting n times the include block, you can use the with_sequence instruction :
n
include
- name: Do things include_tasks: subtask.yml with_sequence: count=3