# Execute 'hostname' 100 times in a loop. Loops execute within TaskExecutor # within a single WorkerProcess, each iteration is a fair approximation of the # non-controller overhead involved in executing a task. # # See also: loop-100-tasks.yml # - hosts: all tasks: - command: hostname with_sequence: start=1 end="{{end|default(100)}}" tags: - resource_intensive