Skip to content

Commit

Permalink
tweaked grub
Browse files Browse the repository at this point in the history
  • Loading branch information
J-SirL committed Jan 9, 2024
1 parent 8793f94 commit 5ad28ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
ansible.builtin.template:
src: grub.cfg.j2
dest: /etc/default/grub
validate: bash -n %s
owner: root
group: root
mode: '0644'
when: grub_config.stat.exists

Expand Down
3 changes: 2 additions & 1 deletion templates/grub.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ GRUB_DISTRIBUTOR={{ grub_distributor }}
GRUB_DEFAULT={{ grub_default }}
GRUB_DISABLE_SUBMENU={{ grub_disable_submenu }}
GRUB_TERMINAL_OUTPUT={{ grub_terminal_output }}
GRUB_CMDLINE_LINUX={{ grub_cmdline_linux }}
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_RECOVERY={{ grub_disable_recovery }}
GRUB_ENABLE_BLSCFG={{ grub_enable_blscfg }}

Expand Down

0 comments on commit 5ad28ac

Please sign in to comment.