ans-host-reboot

This is a port of a script I wrote originally for func.

http://skvidal.fedorapeople.org/misc/ans-host-reboot.py

It lets you specify hosts to reboot - either altogether or
one-at-a-time. It checks for the host to return to functionality before
exiting.

uses:
- reboot-a-thon for outages for new kernels - where you want to do them
   all but not be tied down by watching them all.

- rebooting a class of hosts that provide the same service so not all
   of them will be down at once (--one-at-a-time)

It's an example of my noodling around and it is a pretty handy script
when I have to do mass updates/reboot events.

-sv

Thanks Seth!

Just to let everyone know, this is now available in the ansible-contrib repo.

If others have scripts, playbooks, or modules to share, we’ve got a place for them!

https://github.com/ansible/ansible-contrib

–Michael