---
- name: Reboot
  ansible.builtin.reboot:

- name: Wait for the reboot and reconnect
  wait_for_connection:

- name: Pause for 20 seconds after reboot
  ansible.builtin.pause:
    seconds: 20
