Merge "Revert "Bugfix: ansible version should be the same both in Dockerfile and...
[yardstick.git] / ansible / roles / enable_hugepages_on_boot / defaults / main.yml
1 ---
2 num_hugepages: auto
3 huge_pagesize_mb: 1024
4 # disable EFI for chroot
5 efi:
6   stat:
7     exists: False
8 update_grub:
9   Debian: "grub-mkconfig -o {% if efi.stat.exists %}/boot/efi/EFI/{{ ansible_distribution|lower }}/grub.cfg{% else %}/boot/grub/grub.cfg{% endif %}"
10   RedHat: "grub2-mkconfig -o {% if efi.stat.exists %}/boot/efi/EFI/{{ ansible_distribution|lower }}/grub.cfg{% else %}/boot/grub2/grub.cfg{% endif %}"