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.
|
- ---
-
- - name: debian packages
- apt:
- pkg:
- - arch-install-scripts
-
- - name: default grub settings
- template:
- src: default-grub.j2
- dest: "{{ root_target_directory | default('') }}/etc/default/grub"
-
- - name: grub-install
- command: >
- {% if root_target_directory is defined %}arch-chroot {{ root_target_directory }}{% endif %}
- grub-install
- {{ lookup('template','grub-install.args.j2') }}
- {{ item }}
- with_items: "{{ boot_devices }}"
-
- - name: update-grub
- command: >
- {% if root_target_directory is defined %}arch-chroot {{ root_target_directory }}{% endif %}
- update-grub
-
- - name: update initramfs
- command: >
- {% if root_target_directory is defined %}arch-chroot {{ root_target_directory }}{% endif %}
- update-initramfs -u
|