What does `serial: [1, 5, "50%"]` do?
BeginnerScenarioRolling Updates, Delegation and Orchestration
Answer
Situation read → Escalating batches.
What I'd do → Explain: first batch is 1 host, the next is 5, then 50% of the total in each remaining batch until all hosts are done.
Why → You pay a small cost to learn early whether the release is bad.
Interview tip → serial batches run the whole play to completion on one batch before starting the next.
More on Rolling Updates, Delegation and Orchestration
You must deploy a new app version to 40 web servers behind a load balancer with zero downtime.AdvancedDuring a rolling update, 3 of 10 hosts in a batch fail. Does the play continue?IntermediateYou must restart database replicas one at a time but never the primary first.AdvancedYou need a task to run on the LB for every web host, without logging into each web host.IntermediateA shell command must run on localhost for each remote host, e.g. a CLI call to a cloud API.BeginnerA deployment should run strictly one host at a time, but fact gathering should not be slow.Intermediate