I am curious if there is any mechanism to perform synchronous tasks among a 
group of nodes (or nodes in a role, etc.)

There is one example online to perform rolling updates to a group of web 
servers, one at a time. This makes perfect sense, since in this case you 
don't want to shut down all of them to keep the service up.

But in another scenario, where I need to shut down all the service nodes, 
upgrade database schema, upgrade software code, and then restart the 
nodes.. So, I want to have a play book that can do:
- stop all nodes in a group/role
- perform db migration
- perform software upgrade for all nodes
- start service one by one

Is there a way to do this? Thanks..


-- 
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.

Reply via email to