fix reboot and wait tasks to work with current ansible version
fix reboot and wait tasks to work with current ansible version

jmcvetta/ansible-debian-upgrade-reboot,jmcvetta/ansible-debian-upgrade-reboot,jmcvetta/debian-upgrade-reboot