Skip to content

Commit

Permalink
Fix default kernel boot parameters on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi committed Apr 24, 2024
1 parent 5c2e1aa commit e780c38
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit e780c38

Please sign in to comment.