- name: Sysprep Alma Linux machine hosts: staging-vm become: yes roles: - role: provision/alma/sysprep tasks: - name: Reboot machine and send a message ansible.builtin.reboot: msg: "Going down in 5..." # - name: Shutdown the machine for templating # community.general.shutdown: # msg: "I must go now..." # delay: 5