---
- name: Converge
  hosts: all
  become: true
  tasks:
    - name: Run migration tool
      shell: /tmp/almalinux-deploy.sh | tr '\r' '\n'

    - name: Reboot VM
      reboot:

    - name: Wait for reboot
      wait_for_connection:
        delay: 60
        sleep: 5
        timeout: 300
