2024-05-04 19:05:06 +03:00
|
|
|
---
|
2024-05-04 20:16:12 +03:00
|
|
|
- name: Restart networking
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: networking
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: Update initramfs
|
2024-05-04 19:05:06 +03:00
|
|
|
ansible.builtin.command: "update-initramfs -u"
|
2024-05-04 20:16:12 +03:00
|
|
|
changed_when: true
|
2024-05-04 19:05:06 +03:00
|
|
|
# register: restart_required
|
|
|
|
|
2024-05-04 20:16:12 +03:00
|
|
|
- name: Trigger udev add
|
|
|
|
ansible.builtin.command: "udevadm trigger --action=add"
|
|
|
|
changed_when: true
|