Add handler to update initramfs
This commit is contained in:
parent
88d16009c7
commit
e4eebf2e2d
@ -1,5 +1,10 @@
|
||||
---
|
||||
|
||||
- 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)
|
||||
|
Loading…
Reference in New Issue
Block a user