From e780c38d6acf940fbee10532f3ca318b5d4e9d2d Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Wed, 24 Apr 2024 17:58:19 +0200 Subject: [PATCH] Fix default kernel boot parameters on all platforms --- handlers/main.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index c46055f..eede6e4 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT --- -# EL 7 workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1152027 +# A workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1152027 - name: Fix default kernel boot parameters shell: |- set -o pipefail @@ -11,9 +11,6 @@ {{ __bootloader_default_grub }} cat {{ __bootloader_default_grub }} changed_when: true - when: - - ansible_distribution in ['CentOS', 'RedHat'] - - ansible_distribution_version is version('8', '<') - name: Reboot system include_tasks: tasks/reboot.yml