ansible.builtin.free strategy – Executes tasks without waiting for all hosts
Note
This strategy plugin is part of ansible-core
and included in all Ansible installations. In most cases, you can use the short plugin name free
. However, we recommend you use the Fully Qualified Collection Name (FQCN) ansible.builtin.free
for easy linking to the plugin documentation and to avoid conflicting with other collections that may have the same strategy plugin name.
Synopsis
- 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.
Collection links
© 2012–2018 Michael DeHaan
© 2018–2024 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/free_strategy.html