yavdr-ansible/roles/grub-config/handlers/main.yml
Alexander Grothe 46de4a1b80 Don't install vdr-plugin-restfulapi by default
It crashes if the channel list is empty
2018-08-02 10:03:35 +02:00

15 lines
422 B
YAML

---
- name: Update Initramfs
command: "update-initramfs -u"
failed_when: ('error' in initramfs_register_update.stderr)
register: initramfs_register_update
- 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