From fd75e6421ca5e843bc8468ec41f44fba3f641154 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Mon, 14 Mar 2022 22:51:48 +1300 Subject: [PATCH] Grub tasks for RHEL > 6 --- tasks/grub.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/grub.yml b/tasks/grub.yml index 864c26c..a50fff3 100644 --- a/tasks/grub.yml +++ b/tasks/grub.yml @@ -18,7 +18,7 @@ option: GRUB_TIMEOUT value: "{{ common_grub_timeout }}" no_extra_spaces: yes - when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7'" + when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version > '6'" notify: - Check if grub.cfg exists - Update GRUB