2017-06-21 12:46:51 +02:00
|
|
|
---
|
|
|
|
|
2018-08-10 08:13:44 +02:00
|
|
|
- name: Update Initramfs
|
|
|
|
command: "update-initramfs -u"
|
|
|
|
failed_when: ('error' in initramfs_register_update.stderr)
|
|
|
|
register: initramfs_register_update
|
|
|
|
|
2017-02-23 13:15:04 +01:00
|
|
|
- name: Update GRUB
|
|
|
|
command: update-grub
|
|
|
|
failed_when: ('error' in grub_register_update.stderr)
|
|
|
|
register: grub_register_update
|
|
|
|
|
|
|
|
# TODO: Do we need to use grub-set-default?
|
|
|
|
# https://github.com/yavdr/yavdr-utils/blob/master/events/actions/update-grub
|