1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

clarify free strategy (#44645)

* clarify free strategy
* wordsmithing
* shorten line per Shippable
This commit is contained in:
Brian Coca 2018-09-05 21:24:37 -04:00 committed by Alicia Cozine
parent 2955d7cd1b
commit 9a6530be77

View file

@ -20,11 +20,13 @@ __metaclass__ = type
DOCUMENTATION = ''' DOCUMENTATION = '''
strategy: free strategy: free
short_description: Executes tasks on each host independently short_description: Executes tasks without waiting for all hosts
description: description:
- Task execution is as fast as possible per host in batch as defined by C(serial) (default all). - Task execution is as fast as possible per batch as defined by C(serial) (default all).
Ansible will not wait for other hosts to finish the current task before queuing the next task for a host that has finished. Ansible will not wait for other hosts to finish the current task before queuing more tasks for other hosts.
Once a host is done with the play, it opens it's slot to a new host that was waiting to start. 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.
version_added: "2.0" version_added: "2.0"
author: Ansible Core Team author: Ansible Core Team
''' '''