I read that by default, for each task, Ansible will fork five parallel threads (called forks) and execute these threads in parallel across five nodes in the inventory. Once these tasks finish, it will target the remaining devices in the inventory in a batch of five nodes.
-
Does that mean even if i define ansible playbook to run for 10 devices, only 5 will be executed at any time? If so, does that mean that ansible default behaviour is similar to using ‘serial: 5’?
-
I have linux VM on windows PC which is used as ansible controller and 4 GB RAM dedicated to it. If i try to run to increase the number of forks to say 7-8, will this specification support it?
Thanks,
Vikram