diff --git a/tasks/grub.yml b/tasks/grub.yml index b142635..73b7aeb 100644 --- a/tasks/grub.yml +++ b/tasks/grub.yml @@ -6,6 +6,7 @@ option: timeout value: "{{ common_grub_timeout }}" state: present + no_extra_spaces: yes when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version == '6'" tags: - grub @@ -16,6 +17,7 @@ section: null option: GRUB_TIMEOUT value: "{{ common_grub_timeout }}" + no_extra_spaces: yes when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7'" notify: Update GRUB tags: