k3s-ansible/roles/node/handlers/main.yml
2024-11-23 22:46:13 +01:00

13 lines
328 B
YAML

- name: Update initramfs
listen:
- update initramfs
- update initrd
ansible.builtin.command:
cmd: >
update-initramfs -k all -u
- name: Warn user to reboot
ansible.builtin.set_fact:
user_notify: Reboot the machine to use the new name for primary interface!
when: systemd_networkd_ifname is changed