You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yaml 519 B

4 years ago
4 years ago
1234567891011121314151617181920212223
  1. ---
  2. - name: Install generic Linux kernel
  3. apt:
  4. name: linux-image-generic
  5. install_recommends: yes
  6. - name: Install GRUB Bootloader
  7. apt:
  8. name: grub-efi-amd64
  9. - name: Install GRUB System
  10. shell: |
  11. set -e
  12. grub-install --target=x86_64-efi
  13. sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="[^"]*/& net.ifnames=0 biosdevname=0/' /etc/default/grub
  14. GRUB_DISABLE_OS_PROBER=true update-grub
  15. - name: Install Linux firmware
  16. apt:
  17. name: "{{ item }}"
  18. install_recommends: yes
  19. loop:
  20. - linux-firmware