rebooting and detecting failure

https://support.ansible.com/hc/en-us/articles/201958037-Reboot-a-server-and-wait-for-it-to-come-back

`

  • name: restart machine
    command: shutdown -r now “Ansible updates triggered”
    async: 0
    poll: 0
    ignore_errors: true

`

if your ignoring errors, is there a way to detect failure to reboot?

not that i’ve ever seen it happen, but still like to know.