0 votes
in Ansible by (909 points)
What are Ansible strategies?

1 Answer

0 votes
by (13.0k points)

Strategies are a way to control play execution. By default, plays run with a linear strategy, in 

which all hosts will run each task before any host starts the next task, using the number of forks (default 5) to parallelize. The serial directive can ‘batch’ this behavior to a subset of the hosts, which then run to completion of the play before the next ‘batch’ starts. A second strategy ships with Ansible - free - which allows each host to run until the end of the play as fast as it can. The strategies are implemented as plugins. 

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

0 votes
asked Aug 24, 2019 in Ansible by rahulsharma (909 points)
0 votes
asked Aug 24, 2019 in Ansible by rahulsharma (909 points)
...