aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/enable_hugepages_on_boot/defaults/main.yml
blob: cc89ea3461773bc5e9feacd0574985a5f46cbc3d (plain)
1
2
3
4
5
6
7
8
9
10
---
num_hugepages: auto
huge_pagesize_mb: 1024
# disable EFI for chroot
efi:
  stat:
    exists: False
update_grub:
  Debian: "grub-mkconfig -o {% if efi.stat.exists %}/boot/efi/EFI/{{ ansible_distribution|lower }}/grub.cfg{% else %}/boot/grub/grub.cfg{% endif %}"
  RedHat: "grub2-mkconfig -o {% if efi.stat.exists %}/boot/efi/EFI/{{ ansible_distribution|lower }}/grub.cfg{% else %}/boot/grub2/grub.cfg{% endif %}"