We can just reboot since we ignore errors.
This commit is contained in:
parent
066f90e34b
commit
f294f171b5
@ -28,9 +28,9 @@ I'll just leave this here...
|
|||||||
|
|
||||||
- name: reboot and wait for host to return
|
- name: reboot and wait for host to return
|
||||||
block:
|
block:
|
||||||
- name: schedule reboot in 1 minute
|
- name: reboot
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: 'shutdown -r +1'
|
cmd: reboot
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
async: 3600
|
async: 3600
|
||||||
poll: 0
|
poll: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user