2021-02-09 17:05:00 +01:00
|
|
|
---
|
|
|
|
# file: handlers/main.yml
|
|
|
|
|
2022-06-30 23:37:10 +02:00
|
|
|
- name: update boot - syslinux
|
2021-02-09 17:05:00 +01:00
|
|
|
environment:
|
|
|
|
PATH: "{{ ansible_env.PATH }}:/usr/sbin:/sbin"
|
|
|
|
with_together:
|
|
|
|
- '{{ boot_config }}'
|
|
|
|
- '{{ boot_config_handler_notify.results }}'
|
|
|
|
command: "update-extlinux"
|
|
|
|
when: item.1.changed and item.0.dest == "/etc/update-extlinux.conf"
|
2021-07-14 21:38:30 +02:00
|
|
|
|
2022-06-30 23:37:10 +02:00
|
|
|
- name: update boot - grub
|
|
|
|
environment:
|
|
|
|
PATH: "{{ ansible_env.PATH }}:/usr/sbin:/sbin"
|
|
|
|
with_together:
|
|
|
|
- '{{ boot_config }}'
|
|
|
|
- '{{ boot_config_handler_notify.results }}'
|
|
|
|
command: "update-grub"
|
|
|
|
when: item.1.changed and item.0.dest == "/etc/default/grub"
|
|
|
|
|