Thank you - I considered this but the haproxy enable and disable steps 
can't be asynchronous.

You made me think of what I want and cant do in Ansible - 

Lets say an app group with 20 targets and 4 lbs - if i set serial to 25% 
and take 5 out at a time it would maybe be faster to generate a new ocnfig 
without those 5 targets and reload haproxy. I'll have to test if that is 
less disruptive than the current way.



On Thursday, April 20, 2017 at 1:21:47 PM UTC-4, Kai Stian Olstad wrote:
>
> On 20. april 2017 19:10, Michael Bubb wrote: 
> > Is there a better forum for questions like this? I spent a fair amount 
> of 
> > time reading and googling before posting. I am really curious how to 
> > optimize tasks like this. Where shoudl I post this? 
>
> Maybe async can be what you are looking for. 
> https://docs.ansible.com/ansible/playbooks_async.html 
>
>
> -- 
> Kai Stian Olstad 
>

-- 
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/553c7d05-919b-4b06-bf82-2ef9a67bcd23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to