yavdr-ansible/roles/grub-config/handlers/main.yml
Alexander Grothe 264f1b311c Revert "use debconf module instead of shell command"
openbox autostart calls the autostart script with sh as shell and
using ansible's debconf module does not change dash to bash
successfully, so for the moment we need to use the shell command instead.

This reverts commit 4170935a5a.
2018-08-09 10:07:20 +02:00

10 lines
264 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