ansible.builtin.free – Executes tasks without waiting for all hosts

From Get docs
Ansible/docs/2.11/collections/ansible/builtin/free strategy


ansible.builtin.free – Executes tasks without waiting for all hosts

Note

This module is part of ansible-base and included in all Ansible installations. In most cases, you can use the short module name free even without specifying the collections: keyword. Despite that, we recommend you use the FQCN for easy linking to the module documentation and to avoid conflicting with other collections that may have the same module name.


New in version 2.0: of ansible.builtin


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.

Authors

  • Ansible Core Team

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/ansible/builtin/free_strategy.html