- hosts: all
tasks:
- name: builtin_command_module
command: hostname
with_sequence: start=1 end={{end|default(100)}}