We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 888807a commit 6d1cbb4Copy full SHA for 6d1cbb4
roles/grubcmdline/tasks/main.yml
@@ -25,7 +25,8 @@
25
ansible.builtin.set_fact:
26
grub_cmdline_linux_default: >-
27
{{ grub_result.content | b64decode | regex_search('^GRUB_CMDLINE_LINUX_DEFAULT.*$', multiline=True) | regex_replace('^GRUB_CMDLINE_LINUX_DEFAULT="(.*)"$', '\1') }}
28
-- name: Display GRUB_CMDLINE_DEFAULT
+
29
+- name: Display GRUB_CMDLINE_LINUX_DEFAULT
30
ansible.builtin.debug:
31
var: grub_cmdline_linux_default
32
@@ -43,7 +44,7 @@
43
44
45
grub_cmdline_linux_new: "{{ grub_cmdline_linux_default.split() | difference(grub_cmdline_linux_remove) + kernel_cmdline | select() }}"
46
-- name: Display newly computed GRUB_CMDLINE_DEFAULT
47
+- name: Display newly computed GRUB_CMDLINE_LINUX_DEFAULT
48
49
var: grub_cmdline_linux_new
50
0 commit comments