Update grub_configuration.yml
désactivation de GRUB_ENABLE_BLSCFG=true
This commit is contained in:
@@ -85,13 +85,13 @@
|
|||||||
# ajout de GRUB_ENABLE_BLSCFG=true
|
# ajout de GRUB_ENABLE_BLSCFG=true
|
||||||
# Workaround of Orabug 20734786
|
# Workaround of Orabug 20734786
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
- name: check if GRUB_ENABLE_BLSCFG=true is set
|
# - name: check if GRUB_ENABLE_BLSCFG=true is set
|
||||||
ansible.builtin.shell: grubby --info DEFAULT | grep -i GRUB_ENABLE_BLSCFG=true | wc -l
|
# ansible.builtin.shell: grubby --info DEFAULT | grep -i GRUB_ENABLE_BLSCFG=true | wc -l
|
||||||
register: grep_count
|
# register: grep_count
|
||||||
tags: grub
|
# tags: grub
|
||||||
|
#
|
||||||
- name: Configuration grub - GRUB_ENABLE_BLSCFG=true
|
# - name: Configuration grub - GRUB_ENABLE_BLSCFG=true
|
||||||
shell: grubby --update-kernel=ALL --args=GRUB_ENABLE_BLSCFG=true
|
# shell: grubby --update-kernel=ALL --args=GRUB_ENABLE_BLSCFG=true
|
||||||
when: grep_count.stdout == '0' and ansible_distribution_major_version >= '7'
|
# when: grep_count.stdout == '0' and ansible_distribution_major_version >= '7'
|
||||||
tags: grub
|
# tags: grub
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user