diff --git a/roles/grubcmdline/tasks/main.yml b/roles/grubcmdline/tasks/main.yml index e191d83..751175e 100644 --- a/roles/grubcmdline/tasks/main.yml +++ b/roles/grubcmdline/tasks/main.yml @@ -25,7 +25,8 @@ ansible.builtin.set_fact: grub_cmdline_linux_default: >- {{ grub_result.content | b64decode | regex_search('^GRUB_CMDLINE_LINUX_DEFAULT.*$', multiline=True) | regex_replace('^GRUB_CMDLINE_LINUX_DEFAULT="(.*)"$', '\1') }} -- name: Display GRUB_CMDLINE_DEFAULT + +- name: Display GRUB_CMDLINE_LINUX_DEFAULT ansible.builtin.debug: var: grub_cmdline_linux_default @@ -43,7 +44,7 @@ ansible.builtin.set_fact: grub_cmdline_linux_new: "{{ grub_cmdline_linux_default.split() | difference(grub_cmdline_linux_remove) + kernel_cmdline | select() }}" -- name: Display newly computed GRUB_CMDLINE_DEFAULT +- name: Display newly computed GRUB_CMDLINE_LINUX_DEFAULT ansible.builtin.debug: var: grub_cmdline_linux_new