From 93561738df8848f03a6ac4a45a0763e97962fe26 Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Fri, 24 Oct 2025 21:05:35 +0200 Subject: [PATCH] remove update mechanism for other distributions --- update.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/update.yml b/update.yml index 66088ff..8728a7d 100644 --- a/update.yml +++ b/update.yml @@ -17,21 +17,9 @@ ignore_errors: true when: ansible_os_family == "RedHat" - - name: Check if reboot required (Debian/Ubuntu) - stat: - path: /var/run/reboot-required - register: reboot_required_file - when: ansible_os_family != "RedHat" - - name: Reboot if required (RedHat/CentOS) reboot: when: - ansible_os_family == "RedHat" - needs_restarting_output.rc == 1 - - needs_restarting_output is defined - - - name: Reboot if required (Debian/Ubuntu) - reboot: - when: - - ansible_os_family != "RedHat" - - reboot_required_file.stat.exists == true + - needs_restarting_output is defined \ No newline at end of file