mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-21 00:31:42 +02:00
14 lines
277 B
YAML
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:
|