Thanks for the explaination. Now I know the reason why I cannot set the value from inventory file.
And also thanks for branko to point out the inconsistence of variable names, I didn't notice that. :p Brian Coca於 2018年2月9日星期五 UTC+8下午11時08分27秒寫道： > > This is because serial is a play level keyword and must be the same > for ALL hosts in play, so inventory data cannot be used to set it. > > > You cannot set 'batches' of hosts for all play if the batch size keeps > changing per host. > > > > > -- > ---------- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f7a5c47-b1d9-471f-968a-487f4af1d27e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.