Is there a reboot module or role for RHEL 7, like win_reboot?

I’ve been searching, without satisfaction, for an Ansible module or role to handle a RHEL 7 reboot gracefully.

I’ll begin playing with the command or shell modules to do this, but it seems that it should already exist.

Thanks,
Don

A reboot module only exist for Windows

But this should work pretty well

- name: Reboot
   shell: sleep 2 && shutdown -r
   async: 1
   poll: 0
   ignore_errors: true

- name: Waiting for server to come back
   wait_for:
     host: "{{ inventory_hostname }}"
     port: 22
     state: started
     delay: 30
   delegate_to: localhost