|
@@ -11,7 +11,8 @@ |
|
|
dest: "{{ root_target_directory }}/etc/default/grub" |
|
|
dest: "{{ root_target_directory }}/etc/default/grub" |
|
|
|
|
|
|
|
|
- name: grub-install |
|
|
- name: grub-install |
|
|
command: chroot {{ root_target_directory }} grub-install {{ boot_devices | join(" ") }} |
|
|
|
|
|
|
|
|
command: chroot {{ root_target_directory }} grub-install {{ item }} |
|
|
|
|
|
with_items: "{{ boot_devices }}" |
|
|
|
|
|
|
|
|
- name: update-grub |
|
|
- name: update-grub |
|
|
command: chroot {{ root_target_directory }} update-grub |
|
|
command: chroot {{ root_target_directory }} update-grub |
|
@@ -19,7 +20,6 @@ |
|
|
- name: update initramfs |
|
|
- name: update initramfs |
|
|
command: chroot {{ root_target_directory }} update-initramfs -u |
|
|
command: chroot {{ root_target_directory }} update-initramfs -u |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- include_role: |
|
|
- include_role: |
|
|
name: chroot_environment |
|
|
name: chroot_environment |
|
|
vars: |
|
|
vars: |
|
|