tuxtrix.com
Reboot and wait with Ansible - Tuxtrix
Sometimes it is required to reboot a Linux server after certain tasks. If you’re using Ansible as the tool to automate your server management, you can write a small role in Ansible to trigger a quick reboot, wait for the server to come back to life and continue with other tasks. The following script works […]