We can just reboot since we ignore errors.

This commit is contained in:
Florian Obser 2023-10-13 15:37:15 +02:00
parent 066f90e34b
commit f294f171b5

View File

@ -28,9 +28,9 @@ I'll just leave this here...
- name: reboot and wait for host to return
block:
- name: schedule reboot in 1 minute
- name: reboot
ansible.builtin.command:
cmd: 'shutdown -r +1'
cmd: reboot
ignore_errors: yes
async: 3600
poll: 0