I read this two ansible docs:
ansible-playbook -f --> Statement 1
ansible-playbook :serial --> Statement 2
and I found this two statements:
Statement 1
-f <FORKS>, --forks <FORKS>
specify number of parallel processes to use (default=5)
Statement 2
Rolling Update Batch Size. By default, Ansible will try to manage all of the machines referenced in a play in parallel. For a rolling update use case, you can define how many hosts Ansible should manage at a single time by using the serial keyword:
Question
What's correct? Does ansible uses all hosts at once or just 5?
Or is maybe 5 just the default value of the -f parameter?
Thanks for clarifying that!
Cheers