Interview Prep/Ansible/Performance and Scale

When does the `free` strategy help, and what are the downsides?

IntermediateProductionPerformance and Scale
Answer

With strategy: free, each host runs through the tasks as fast as it can without waiting for the slowest host at every step. It helps when hosts differ greatly in speed (mixed instance sizes, slow mirrors) and tasks are independent.

Downsides: interleaved, hard-to-read output, tasks that depend on other hosts' results (run_once, delegation to shared resources, cluster operations) can become unsafe, and failure handling is less predictable. We do not use it for orchestrated rollouts, only for independent configuration of large groups.

All Ansible questions Roadmap: Ansible

More on Performance and Scale