Handle System Restart and wait for it to return
Available on Ansible Galaxy: isaackehle.restart
This role will restart a system and wait for it to come back
None
NA
None
- hosts: all
roles:
- isaackehle.restart
There is an included Vagrant setup for hacking on this module, but IP needs to be set.
cd tests
source .hack.sh
vagrant up
ansible-playbook test.yml
...
vagrant destroy
vagrant up
ansible-playbook test.yml -vvvv
...
MIT