ansible.builtin.free strategy – Executes tasks without waiting for all hosts
This strategy plugin is part of
ansible-core and included in all Ansible
installations. In most cases, you can use the short
free even without specifying the
However, we recommend you use the FQCN for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same strategy plugin name.
New in version 2.0: of ansible.builtin
Task execution is as fast as possible per batch as defined by
serial(default all). Ansible will not wait for other hosts to finish the current task before queuing more tasks for other hosts. All hosts are still attempted for the current task, but it prevents blocking new tasks for hosts that have already finished.
With the free strategy, unlike the default linear strategy, a host that is slow or stuck on a specific task won’t hold up the rest of the hosts and tasks.