Skip to content

Commit 6d1cbb4

Browse files
committed
Fix GRUB variable in task names
1 parent 888807a commit 6d1cbb4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roles/grubcmdline/tasks/main.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
ansible.builtin.set_fact:
2626
grub_cmdline_linux_default: >-
2727
{{ 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
28+
29+
- name: Display GRUB_CMDLINE_LINUX_DEFAULT
2930
ansible.builtin.debug:
3031
var: grub_cmdline_linux_default
3132

@@ -43,7 +44,7 @@
4344
ansible.builtin.set_fact:
4445
grub_cmdline_linux_new: "{{ grub_cmdline_linux_default.split() | difference(grub_cmdline_linux_remove) + kernel_cmdline | select() }}"
4546

46-
- name: Display newly computed GRUB_CMDLINE_DEFAULT
47+
- name: Display newly computed GRUB_CMDLINE_LINUX_DEFAULT
4748
ansible.builtin.debug:
4849
var: grub_cmdline_linux_new
4950

0 commit comments

Comments
 (0)