yavdr-ansible/roles/grub/handlers/main.yml
2017-02-19 13:56:47 +01:00

8 lines
259 B
YAML

- 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