How do I go through all hosts in an Ansible inventory in serial with an Ansible ad-hoc and reboot servers with a specified number of seconds in between each reboot?
I am looking for something similar to:
ansible -i inventory nodes -a "/sbin/reboot"
It should have a pause and run in serial.