Replace ignore_errors with failed_when

This commit is contained in:
2024-10-28 18:56:00 +01:00
parent a3b772c543
commit 5312ec8cc6
4 changed files with 4 additions and 4 deletions

View File

@@ -87,4 +87,4 @@
- name: Reboot system
when: hypervisor != "libvirt"
ansible.builtin.command: reboot
ignore_errors: true
failed_when: false