ansible-role-grub/handlers/main.yml

14 lines
277 B
YAML

---
# handlers file for grub
- name: update grub
ansible.builtin.command:
cmd: "{{ grub_update_grub_command }}"
when:
- ansible_connection not in [ "container", "docker", "community.docker.docker" ]
notify:
- reboot
- name: reboot
ansible.builtin.reboot: