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
1 changed files with 2 additions and 2 deletions

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