ci / test (push) Failing after 27s
proxmox-boot-tool refresh endet ohne proxmox-boot-uuids mit Exit 0, die Verkettung mit || hat update-grub deshalb nie erreicht. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
548 B
YAML
12 lines
548 B
YAML
# Reihenfolge wie hier definiert: erst initramfs (vfio.conf, Sperrliste), dann Bootloader
|
|
- name: update initramfs
|
|
ansible.builtin.command: update-initramfs -u -k all
|
|
changed_when: true
|
|
|
|
# proxmox-boot-tool nur bei ZFS-Root (Variante A). Ohne proxmox-boot-uuids endet es trotzdem mit
|
|
# Exit 0, deshalb nicht als `refresh || update-grub` verketten (sonst bleibt grub.cfg alt).
|
|
- name: refresh boot
|
|
ansible.builtin.shell: |
|
|
if [ -f /etc/kernel/proxmox-boot-uuids ]; then proxmox-boot-tool refresh; else update-grub; fi
|
|
changed_when: true
|