0Pricing
Ansible Academy · Lesson

forks & Parallelism Tuning

Scale how many hosts run at once.

One at a Time Is Slow

By default Ansible touches only a handful of hosts at once. Across hundreds of servers, that serial pace turns a quick play into a long wait. ⏳

Meet the forks Setting

The forks value sets how many hosts Ansible drives in parallel for each task. More forks means more machines working at the same moment.

All lessons in this course

  1. forks & Parallelism Tuning
  2. Strategies: linear, free & host_pinned
  3. SSH Pipelining & Connection Reuse
  4. serial & Rolling Batch Execution
← Back to Ansible Academy