How do I shuffle/randomize long lists of hosts? That is, without writing an executable hosts file that randomizes them and then spits them out, and then dealing with all the groupings and variables and other wonderfulness that I can include in the hosts file?
My inventory file is collected semi-dynamically and comprises long lists of servers that are all running on the same blade on a long list of blades. I run upto 40 servers per blade, and I have about a 80 blades (or more). The FIRST time I run an "update bash" (for instance) I'll wind up hitting all of one blade first, effectively flat-lineing it. If I can shuffle my hosts list, I can have a larger fork/serial value and won't flatline my blades and I can shorten my effective runtime. I was hoping for a "--shuffle-hosts" variable but I couldn't find it. >>>Ericw -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/679fde26-6b71-49ab-a836-f0806d545d3c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
