server_name isn't defined and sometimes ansible_ssh_host isn't either
As long as the reboot command didn't fail, it was successful, instead look to see if a change was reported
Merge pull request #3 from sivel/reboot-wait-fix

Reboot wait_for fixes