You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
414 B
YAML
14 lines
414 B
YAML
# 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
|
|
#
|
|
- name: bench/loop-100-items.yml
|
|
hosts: all
|
|
tasks:
|
|
- command: hostname
|
|
with_sequence: start=1 end="{{end|default(100)}}"
|
|
tags:
|
|
- resource_intensive
|