- name: Update initramfs
listen:
- update initramfs
- update initrd
ansible.builtin.command:
cmd: >
update-initramfs -k all -u
- name: Reboot
- reboot
ansible.builtin.reboot: