Hi, The serial option is a great way of upgrading servers behind a load balancer. One of the example playbooks has a HAProxy example that I used, and it works great. I set the serial option upto half of the hosts and the service continues running. I am excited about the new "serial: 50%" pull request.
I now have a number of haproxy-servers groups, mainly for production, staging, etc. Is it possible to get the serial execution to take hosts from all groups proportionally? Example inventory: [live] lb-live s[1:8]-live [staging] lb-staging s[1:2]-staging If I use "serial: 4", all of staging could go out at once, if I use "serial: 1" the production environment takes much too long to upgrade. "serial: 50%" would probably not work in this case. Of course I could separate my staging and production environments into separate inventory files and run Ansible twice. Can that be avoided? Regards, Joost -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
